aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/js-components/skipButtonControlBar.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/js-components/skipButtonControlBar.ts')
-rw-r--r--src/js-components/skipButtonControlBar.ts4
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();