fix incorrect lyric scroll position on resume

This commit is contained in:
jeffvli
2026-07-15 21:58:30 -07:00
parent ddd45ad5ba
commit 2eacdd485a
@@ -268,6 +268,10 @@ export const SynchronizedKaraokeLyrics = ({
return;
}
// Refresh the wall-clock playback anchor before restarting RAF.
// Otherwise resume interpolates from the pause-time eventCreationTime and
// briefly advances lyrics by the pause duration until the next progress tick.
syncFromCurrentTimestamp();
startRaf();
});