Run yarn lint.

This commit is contained in:
FireMasterK 2022-01-12 05:31:00 +00:00
parent 2886ad966b
commit 7314642efa
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -81,9 +81,10 @@ export default {
.then(hotkeys => { .then(hotkeys => {
this.hotkeys = hotkeys; this.hotkeys = hotkeys;
var self = this; var self = this;
hotkeys( hotkeys("f,m,j,k,l,c,space,up,down,left,right,0,1,2,3,4,5,6,7,8,9,shift+,,shift+.", function(
"f,m,j,k,l,c,space,up,down,left,right,0,1,2,3,4,5,6,7,8,9,shift+,,shift+.", e,
function (e, handler) { handler,
) {
const videoEl = self.$refs.videoEl; const videoEl = self.$refs.videoEl;
console.log(handler.key); console.log(handler.key);
switch (handler.key) { switch (handler.key) {
@ -176,8 +177,7 @@ export default {
self.$player.trickPlay(Math.min(videoEl.playbackRate + 0.25, 2)); self.$player.trickPlay(Math.min(videoEl.playbackRate + 0.25, 2));
break; break;
} }
}, });
);
}); });
}, },
deactivated() { deactivated() {