From c93e0e0c3cf01ea74228127614a91a6ab7cc8a39 Mon Sep 17 00:00:00 2001 From: Bnyro <82752168+Bnyro@users.noreply.github.com> Date: Wed, 15 Mar 2023 19:07:27 +0100 Subject: [PATCH] Revert "Frame-by-frame navigation" --- src/components/VideoPlayer.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 4283ba77..64c4c5bf 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -100,7 +100,7 @@ export default { this.hotkeysPromise.then(() => { var self = this; this.$hotkeys( - "f,m,j,k,l,c,space,up,down,left,right,0,1,2,3,4,5,6,7,8,9,shift+n,shift+,,shift+.,return,.,,", + "f,m,j,k,l,c,space,up,down,left,right,0,1,2,3,4,5,6,7,8,9,shift+n,shift+,,shift+.,return", function (e, handler) { const videoEl = self.$refs.videoEl; switch (handler.key) { @@ -199,14 +199,6 @@ export default { case "return": self.skipSegment(videoEl); break; - case ".": - videoEl.currentTime += 0.04; - e.preventDefault(); - break; - case ",": - videoEl.currentTime -= 0.04; - e.preventDefault(); - break; } }, );