diff --git a/common/app/components/VideoPlayer.tsx b/common/app/components/VideoPlayer.tsx index 91cb2e4a..1888c4e9 100755 --- a/common/app/components/VideoPlayer.tsx +++ b/common/app/components/VideoPlayer.tsx @@ -819,7 +819,7 @@ export default function VideoPlayer({ (event, track) => { event.preventDefault(); const originalValue = textSubtitleSettingsForTrack(subtitleSettings, track).subtitleBlur!; - const change = changeForTextSubtitleSetting({ subtitleBlur: !originalValue }, track); + const change = changeForTextSubtitleSetting({ subtitleBlur: !originalValue }, subtitleSettings, track); setSubtitleSettings({ ...subtitleSettings, ...change }); }, () => false diff --git a/common/app/services/app-key-binder.ts b/common/app/services/app-key-binder.ts index 569443d5..a1125a4e 100644 --- a/common/app/services/app-key-binder.ts +++ b/common/app/services/app-key-binder.ts @@ -232,7 +232,7 @@ export default class AppKeyBinder implements KeyBinder { } bindToggleBlurTrack( - onToggleBlurTrack: (event: KeyboardEvent, extra: any) => void, + onToggleBlurTrack: (event: KeyboardEvent, track: number) => void, disabledGetter: () => boolean, useCapture?: boolean | undefined ): () => void { diff --git a/common/key-binder/key-binder.ts b/common/key-binder/key-binder.ts index 5f18940c..e06ff56c 100644 --- a/common/key-binder/key-binder.ts +++ b/common/key-binder/key-binder.ts @@ -111,7 +111,7 @@ export interface KeyBinder { capture?: boolean ): () => void; bindToggleBlurTrack( - onToggleBlurTrack: (event: KeyboardEvent, extra: any) => void, + onToggleBlurTrack: (event: KeyboardEvent, track: number) => void, disabledGetter: () => boolean, capture?: boolean ): () => void; @@ -655,7 +655,7 @@ export class DefaultKeyBinder implements KeyBinder { } bindToggleBlurTrack( - onToggleBlurTrack: (event: KeyboardEvent, extra: any) => void, + onToggleBlurTrack: (event: KeyboardEvent, track: number) => void, disabledGetter: () => boolean, capture = false ) {