Handle unset synced lyrics height

This commit is contained in:
lucast committed 2026-10-06 02:47:04 +02:00
1 parent 95f6199cea
commit 7d42c6edb1
1 file changed
+1 -1
@@ -184,7 +184,7 @@ const finalTransform = computed(() => {
v-if="song && song.lyrics && song.lyrics.synced && hasParsedLyrics"
class="synced-lyrics-container"
:style="{
height: `${syncedHeight + topFadeExtension}px`,
height: `${(syncedHeight ?? 0) + topFadeExtension}px`,
marginTop: `${top - topFadeExtension}px`,
}"
@wheel.prevent="onWheel"