mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
style(return-begin): returnBegin -> seekBegin
This commit is contained in:
parent
5164d69c90
commit
c14e8b7701
@ -201,7 +201,7 @@ if (supportedUrls.some(url => document.URL.startsWith(url))) {
|
|||||||
takeScreenshot: clickElement('.video-take-screenshot'),
|
takeScreenshot: clickElement('.video-take-screenshot'),
|
||||||
previousFrame: clickElement('.prev-frame'),
|
previousFrame: clickElement('.prev-frame'),
|
||||||
nextFrame: clickElement('.next-frame'),
|
nextFrame: clickElement('.next-frame'),
|
||||||
returnBegin: () => {
|
seekBegin: () => {
|
||||||
if (!unsafeWindow.player) {
|
if (!unsafeWindow.player) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -237,7 +237,7 @@ if (supportedUrls.some(url => document.URL.startsWith(url))) {
|
|||||||
takeScreenshot: 'ctrl alt c',
|
takeScreenshot: 'ctrl alt c',
|
||||||
previousFrame: 'shift arrowLeft',
|
previousFrame: 'shift arrowLeft',
|
||||||
nextFrame: 'shift arrowRight',
|
nextFrame: 'shift arrowRight',
|
||||||
returnBegin: '0'
|
seekBegin: '0'
|
||||||
}
|
}
|
||||||
const parseBindings = (bindings: { [action: string]: string }) => {
|
const parseBindings = (bindings: { [action: string]: string }) => {
|
||||||
return Object.entries(bindings).map(([actionName, keyString]) => {
|
return Object.entries(bindings).map(([actionName, keyString]) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user