From b84daec4498b9557c8a2820bcfd60045ed7844de Mon Sep 17 00:00:00 2001 From: zurdi Date: Thu, 17 Sep 2026 19:11:37 +0200 Subject: [PATCH] fix(v2): hold the jukebox disc's angle when playback pauses Pause the spin animation instead of removing it, like the now-playing pill, so the disc no longer snaps back to its starting angle. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01XAReUPhZXnp7LyiP1W4GGQ --- frontend/src/v2/components/Soundtrack/Panel.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/v2/components/Soundtrack/Panel.vue b/frontend/src/v2/components/Soundtrack/Panel.vue index 2ce8f7bd5..72f97e0d3 100644 --- a/frontend/src/v2/components/Soundtrack/Panel.vue +++ b/frontend/src/v2/components/Soundtrack/Panel.vue @@ -653,12 +653,17 @@ function downloadTrack(track: PanelTrack) { } } +/* Paused rather than removed, so a pause holds the disc at its current angle. */ +.r-v2-stp__vinyl { + animation: r-v2-stp-vinyl-spin 6s linear infinite paused; +} + .r-v2-stp__vinyl--spinning { - animation: r-v2-stp-vinyl-spin 6s linear infinite; + animation-play-state: running; } @media (prefers-reduced-motion: reduce) { - .r-v2-stp__vinyl--spinning { + .r-v2-stp__vinyl { animation: none; } }