mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Made show only overlay work
This commit is contained in:
parent
93c0a0c003
commit
e1e570fb18
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue