Don't prevent Alt+⬅️/Alt+➡️ navigation hotkeys

Anything with the alt key is now ignored and untouched.
This commit is contained in:
Cadence Ember 2021-02-12 00:46:56 +13:00
parent e279fca60e
commit b58f1515eb
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ video.addEventListener("dblclick", event => {
document.addEventListener("keydown", event => {
if (["INPUT", "SELECT", "BUTTON"].includes(event.target.tagName)) return
if (event.ctrlKey || event.shiftKey) return
if (event.ctrlKey || event.shiftKey || event.altKey) return
let caught = true
if (event.key === "j" || event.key === "n") {
relativeSeek(-10)