From 177583539269ffdc3e4798eb3ba78e61c04dedfb Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 4 Nov 2022 16:05:09 -0400 Subject: Add hiding skip to highlight Fix #1530 --- src/js-components/skipButtonControlBar.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/js-components/skipButtonControlBar.ts') 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(); -- cgit v1.2.3