mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 14:37:23 +03:00
Fix bar being too long due to time to decimal changing while remaking bar not true
This commit is contained in:
@@ -374,7 +374,6 @@ class PreviewBar {
|
||||
return;
|
||||
}
|
||||
|
||||
if (remakingBar) {
|
||||
const filteredSegments = segments?.filter((segment) => this.chapterFilter(segment));
|
||||
if (filteredSegments) {
|
||||
let groups = this.unfilteredChapterGroups;
|
||||
@@ -394,7 +393,6 @@ class PreviewBar {
|
||||
} else {
|
||||
this.chapterGroups = this.unfilteredChapterGroups;
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.chapterGroups || this.chapterGroups.length <= 0) {
|
||||
if (this.customChaptersBar) this.customChaptersBar.style.display = "none";
|
||||
|
||||
Reference in New Issue
Block a user