From e0d035f8b934014ae9009f5a5bc6ab74133c1e80 Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Wed, 16 Nov 2022 13:12:00 -0600 Subject: [PATCH] Add shift versions of currently unshifted shortcuts --- thrimbletrimmer/scripts/keyboard-shortcuts.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/thrimbletrimmer/scripts/keyboard-shortcuts.js b/thrimbletrimmer/scripts/keyboard-shortcuts.js index e991839..6ec8fd0 100644 --- a/thrimbletrimmer/scripts/keyboard-shortcuts.js +++ b/thrimbletrimmer/scripts/keyboard-shortcuts.js @@ -67,6 +67,7 @@ document.addEventListener("keypress", (event) => { videoElement.currentTime -= 10; break; case "k": + case "K": case " ": if (videoElement.paused) { videoElement.play(); @@ -88,9 +89,11 @@ document.addEventListener("keypress", (event) => { videoElement.muted = !videoElement.muted; break; case ",": + case "<": videoElement.currentTime -= 1 / VIDEO_FRAMES_PER_SECOND; break; case ".": + case ">": videoElement.currentTime += 1 / VIDEO_FRAMES_PER_SECOND; break; case "=":