fix: make progressRef reactive in FocusMode

This commit is contained in:
vicrodh committed 2026-01-10 07:03:15 -06:00
1 parent 0676989c71
commit 4989802641
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@
let showControls = $state(true);
let hideTimeout: ReturnType<typeof setTimeout> | null = null;
let progressRef: HTMLDivElement;
let progressRef: HTMLDivElement | null = $state(null);
const progress = $derived((currentTime / duration) * 100 || 0);
const hasLyrics = $derived(lyricsLines.length > 0);