fix: AudioPlayer chapter picker highlights audioStore.chapter (playing) not page chapter prop

This commit is contained in:
root
2026-04-11 23:13:24 +05:00
parent ea58dab71c
commit 0ff9b66cdb

View File

@@ -1443,7 +1443,7 @@
{#if showChapterPanel && audioStore.chapters.length > 0}
<ChapterPickerOverlay
chapters={audioStore.chapters}
activeChapter={chapter}
activeChapter={audioStore.chapter}
zIndex="z-[60]"
onselect={playChapter}
onclose={() => { showChapterPanel = false; }}