From 4f30245850da1ab1fb28d85f0540eb61b965670e Mon Sep 17 00:00:00 2001 From: Kagamine Rin Date: Fri, 29 May 2026 20:53:40 -0400 Subject: [PATCH] tweak: Faster marquee scroll speed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduced marquee animation duration: - Min duration: 6s → 4s - Per-character multiplier: 0.3s → 0.2s A 20-character title now scrolls in ~8s instead of ~12s. --- frontend/src/components/Player.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Player.tsx b/frontend/src/components/Player.tsx index a53f05b..272bbfc 100644 --- a/frontend/src/components/Player.tsx +++ b/frontend/src/components/Player.tsx @@ -163,7 +163,7 @@ export default function Player({ clip, isPlaying, onTogglePlay, onStop, onClose const progress = duration > 0 ? (currentTime / duration) * 100 : 0 const displayTitle = clip.title || clip.prompt - const marqueeDuration = Math.max(6, displayTitle.length * 0.3) + const marqueeDuration = Math.max(4, displayTitle.length * 0.2) return ( <>