From f8117ba0e80f349bd260606bfee1b2e897621838 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Thu, 2 Apr 2026 10:17:44 +0000
Subject: fix(ui): stop roulette at intended duration

---
 src/lib/List/MediaRoulette.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/lib/List/MediaRoulette.svelte')

diff --git a/src/lib/List/MediaRoulette.svelte b/src/lib/List/MediaRoulette.svelte
index 6196c669..d6e33d7a 100644
--- a/src/lib/List/MediaRoulette.svelte
+++ b/src/lib/List/MediaRoulette.svelte
@@ -47,7 +47,8 @@ const startRoulette = () => {
 			speed = minSpeed + slowdownProgress * (maxSpeed - minSpeed);
 		}
 
-		if (progress >= 1 && displayIndex === selectedIndex) {
+		if (progress >= 1) {
+			displayIndex = selectedIndex;
 			spinTimeout = null;
 			isSpinning = false;
 			showResult = true;
-- 
cgit v1.2.3

