From fa7b9eee0178c2a81e7c8afc178a193bc74192d0 Mon Sep 17 00:00:00 2001 From: Ajay Date: Wed, 25 Jun 2025 02:22:55 -0400 Subject: [PATCH] FIx skip to highlight button still showing when highlight disabled #2292 --- src/content.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index 1d0c511e..fdfa9c3b 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1355,7 +1355,9 @@ function startSkipScheduleCheckingForStartSponsors() { // For highlight category const poiSegments = sponsorTimes .filter((time) => time.segment[1] > getCurrentTime() - && time.actionType === ActionType.Poi && time.hidden === SponsorHideType.Visible) + && time.actionType === ActionType.Poi + && time.hidden === SponsorHideType.Visible + && getCategorySelection(time).option !== CategorySkipOption.Disabled) .sort((a, b) => b.segment[0] - a.segment[0]); for (const time of poiSegments) { const skipOption = getCategorySelection(time)?.option;