diff options
author | Ajay <[email protected]> | 2022-11-04 16:05:09 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2022-11-04 16:05:09 -0400 |
commit | 177583539269ffdc3e4798eb3ba78e61c04dedfb (patch) | |
tree | 500eb5782392c97878921912e3674c6eb14e5a04 /src/js-components | |
parent | 2c5db670a4b64a46a50ed065b06bde67b46174cc (diff) | |
download | SponsorBlock-177583539269ffdc3e4798eb3ba78e61c04dedfb.tar.gz SponsorBlock-177583539269ffdc3e4798eb3ba78e61c04dedfb.zip |
Add hiding skip to highlight
Fix #1530
Diffstat (limited to 'src/js-components')
-rw-r--r-- | src/js-components/skipButtonControlBar.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js-components/skipButtonControlBar.ts b/src/js-components/skipButtonControlBar.ts index 11bbf1ac..7ab86bc9 100644 --- a/src/js-components/skipButtonControlBar.ts +++ b/src/js-components/skipButtonControlBar.ts @@ -142,6 +142,10 @@ export class SkipButtonControlBar { this.enabled = false; } + isEnabled(): boolean { + return this.enabled; + } + toggleSkip(): void { this.skip(this.segment); this.disableText(); |