From c14e8b770118e55aaac9b69ca6c0aafa56764eb6 Mon Sep 17 00:00:00 2001 From: JLoeve Date: Fri, 8 Jan 2021 20:40:44 +0800 Subject: [PATCH] style(return-begin): returnBegin -> seekBegin --- src/video/keymap/keymap.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/keymap/keymap.ts b/src/video/keymap/keymap.ts index 3a5d5b2b5..5a89f4ac7 100644 --- a/src/video/keymap/keymap.ts +++ b/src/video/keymap/keymap.ts @@ -201,7 +201,7 @@ if (supportedUrls.some(url => document.URL.startsWith(url))) { takeScreenshot: clickElement('.video-take-screenshot'), previousFrame: clickElement('.prev-frame'), nextFrame: clickElement('.next-frame'), - returnBegin: () => { + seekBegin: () => { if (!unsafeWindow.player) { return } @@ -237,7 +237,7 @@ if (supportedUrls.some(url => document.URL.startsWith(url))) { takeScreenshot: 'ctrl alt c', previousFrame: 'shift arrowLeft', nextFrame: 'shift arrowRight', - returnBegin: '0' + seekBegin: '0' } const parseBindings = (bindings: { [action: string]: string }) => { return Object.entries(bindings).map(([actionName, keyString]) => {