mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Fix chapters not changing when skipping is disabled
This commit is contained in:
parent
287233785e
commit
6732850b41
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue