tweak: Even faster marquee scroll
Min duration: 4s → 3s Per-character multiplier: 0.2s → 0.15s A 20-character title now scrolls in ~6s.
This commit is contained in:
1 parent
4f30245850
commit
2d47f77820
1 file changed
+1
-1
@@ -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(4, displayTitle.length * 0.2)
|
||||
const marqueeDuration = Math.max(3, displayTitle.length * 0.15)
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user