Fix keyevents for macOS
This commit is contained in:
parent
035c1648c1
commit
9035211012
|
@ -10,7 +10,7 @@ let total = 0;
|
|||
let onlyDirs = true;
|
||||
|
||||
const handleKeyEvent = (event) => {
|
||||
if (event.ctrlKey === true || event.altKey === true) return;
|
||||
if (event.ctrlKey === true || event.altKey === true || event.metaKey == true) return;
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
|
|
Loading…
Reference in New Issue