fix: AudioPlayer chapter picker highlights audioStore.chapter (playing) not page chapter prop
This commit is contained in:
@@ -1443,7 +1443,7 @@
|
|||||||
{#if showChapterPanel && audioStore.chapters.length > 0}
|
{#if showChapterPanel && audioStore.chapters.length > 0}
|
||||||
<ChapterPickerOverlay
|
<ChapterPickerOverlay
|
||||||
chapters={audioStore.chapters}
|
chapters={audioStore.chapters}
|
||||||
activeChapter={chapter}
|
activeChapter={audioStore.chapter}
|
||||||
zIndex="z-[60]"
|
zIndex="z-[60]"
|
||||||
onselect={playChapter}
|
onselect={playChapter}
|
||||||
onclose={() => { showChapterPanel = false; }}
|
onclose={() => { showChapterPanel = false; }}
|
||||||
|
|||||||
Reference in New Issue
Block a user