Skip to content

Commit 39ccc9b

Browse files
committed
fix: reset isFullSong on track change to prevent stale progress arc
1 parent 4cb3396 commit 39ccc9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hooks/use-player-controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export function usePlayerController(
122122
ctrl.on('trackchange', (track, index) => {
123123
setCurrentTrack(track);
124124
setCurrentIndex(index);
125+
setIsFullSong(false);
125126
onTrackChangeRef.current?.(track, index);
126127
});
127128

0 commit comments

Comments
 (0)