perf: stop immersive atmosphere animation while paused

The atmosphere mount in ImmersiveView kept the default animated:true, so
the 4-layer warped background forced full-window redraws at display rate
even with playback paused. Gate it on NowPlayingState.playing (the other
three mount sites already pass animated:false).

cc
This commit is contained in:
vicrodh committed 2026-07-01 18:05:14 -06:00
1 parent f37b6b6ab5
commit e71f0ded46
1 file changed
+2
@@ -1257,6 +1257,8 @@ export component ImmersiveView inherits Rectangle {
fallback-image: NowPlayingState.artwork-large.width > 0
? NowPlayingState.artwork-large
: NowPlayingState.artwork;
// Only animate while playing: paused = frozen warp, no display-rate redraws.
animated: NowPlayingState.playing;
dim: 0.15;
}