Merge remote-tracking branch 'origin/dev'

This commit is contained in:
Flummi 2022-05-09 13:00:29 +02:00
commit 1a3af07309

View File

@ -29,6 +29,8 @@
};
document.addEventListener("keydown", e => {
if(e.key in keybindings && e.target.tagName !== "INPUT") {
if(e.shiftKey || e.ctrlKey || e.metaKey || e.altKey)
return;
e.preventDefault();
keybindings[e.key]();
}