quickshell: stop the vinyl animation rather than pausing it

This commit is contained in:
rope 2026-08-19 13:29:14 +01:00
parent ccc6af0496
commit 389d7a5d65

View file

@ -6319,16 +6319,17 @@ in
// MPRIS player is always present, so
// this card and this animation
// never went away.
// paused (not stopped) still applies
// while the popup is open, so play/
// pause resumes at the current angle
// instead of snapping back to 0.
// Stopped rather than paused: `paused`
// on a non-running animation warns,
// and the resume-at-current-angle it
// bought is not worth a permanently
// live animation. The disc restarts
// from 0 after a play/pause.
NumberAnimation on rotation {
from: 0; to: 360
duration: 8000
loops: Animation.Infinite
running: calPopup.open
paused: !vinyl.spinning
running: calPopup.open && vinyl.spinning
}
}