polish: backdrop blur crossfades on game navigation

Bind MultiEffect opacity to backdropImg.status so blur fades out when source changes (Image.Loading) and fades in when new image is ready (Image.Ready). Previously opacity was static at 0.38 so the Behavior was never triggered.
This commit is contained in:
Marco Allegretti 2026-03-23 11:49:10 +01:00
parent f63edc3e55
commit e5f3e2113e

View file

@ -52,10 +52,10 @@ Maui.ApplicationWindow {
blur: 1.0
blurMax: 72
brightness: -0.25
opacity: 0.38
opacity: backdropImg.status === Image.Ready ? 0.38 : 0.0
Behavior on opacity {
NumberAnimation { duration: 600; easing.type: Easing.InOutCubic }
NumberAnimation { duration: 500; easing.type: Easing.InOutCubic }
}
}