mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Made show only overlay work
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user