diff options
-rw-r--r-- | src/content.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content.ts b/src/content.ts index ee328d92..934b9d67 100644 --- a/src/content.ts +++ b/src/content.ts @@ -772,6 +772,7 @@ function getVirtualTime(): number { function inMuteSegment(currentTime: number, includeOverlap: boolean): boolean { const checkFunction = (segment) => segment.actionType === ActionType.Mute + && segment.hidden === SponsorHideType.Visible && segment.segment[0] <= currentTime && (segment.segment[1] > currentTime || (includeOverlap && segment.segment[1] + 0.02 > currentTime)); return sponsorTimes?.some(checkFunction) || sponsorTimesSubmitting.some(checkFunction); |