diff options
author | Ajay <[email protected]> | 2024-03-18 20:58:07 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2024-03-18 20:58:07 -0400 |
commit | 6732850b4186b74aae73fdce894d9e71699728dd (patch) | |
tree | 2bda72474ea19cab67c8552b02b80f38c9714aaf /src | |
parent | 287233785e6e03b94857187333ba3238444c746a (diff) | |
download | SponsorBlock-6732850b4186b74aae73fdce894d9e71699728dd.tar.gz SponsorBlock-6732850b4186b74aae73fdce894d9e71699728dd.zip |
Fix chapters not changing when skipping is disabled
Diffstat (limited to 'src')
-rw-r--r-- | src/js-components/previewBar.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index 5e002fb9..db452bfa 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -748,6 +748,7 @@ class PreviewBar { updateChapterText(segments: SponsorTime[], submittingSegments: SponsorTime[], currentTime: number): SponsorTime[] { if (!Config.config.showSegmentNameInChapterBar + || Config.config.disableSkipping || ((!segments || segments.length <= 0) && submittingSegments?.length <= 0)) { const chaptersContainer = this.getChaptersContainer(); if (chaptersContainer) { |