mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
Run yarn lint.
This commit is contained in:
parent
9b1f7086f4
commit
a9e7d79121
@ -75,10 +75,9 @@ export default {
|
|||||||
.then(hotkeys => {
|
.then(hotkeys => {
|
||||||
this.hotkeys = hotkeys;
|
this.hotkeys = hotkeys;
|
||||||
var self = this;
|
var self = this;
|
||||||
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(
|
hotkeys(
|
||||||
e,
|
"f,m,j,k,l,c,space,up,down,left,right,0,1,2,3,4,5,6,7,8,9,shift+,,shift+.",
|
||||||
handler,
|
function (e, 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) {
|
||||||
@ -171,7 +170,8 @@ 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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user