Add shift versions of currently unshifted shortcuts

pull/330/head
ElementalAlchemist 2 years ago committed by Mike Lang
parent 29e6b9ead3
commit e0d035f8b9

@ -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 "=":

Loading…
Cancel
Save