From e1e570fb185f6a4f73278efa1a0b0d3ae5654ff1 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 5 Apr 2020 00:08:44 -0400 Subject: [PATCH] Made show only overlay work --- src/content.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content.ts b/src/content.ts index 80abec83..ffbd865e 100644 --- a/src/content.ts +++ b/src/content.ts @@ -474,6 +474,9 @@ function startSponsorSchedule(currentTime?: number): void { let skipTime = currentSkip.segment; let timeUntilSponsor = skipTime[0] - currentTime; + // Don't skip if this category should not be skipped + if (utils.getCategorySelection(currentSkip.category).option === CategorySkipOption.ShowOverlay) return; + let skippingFunction = () => { let forcedSkipTime: number = null;