Potential fix for #13
This commit is contained in:
parent
6c0a360c21
commit
1ab1dbdf3c
@ -1842,6 +1842,10 @@ function removeFromKeysDown(e) {
|
||||
}
|
||||
|
||||
function addToKeysDown(e) {
|
||||
if (e.metaKey) KEYS_DOWN.add("meta");
|
||||
if (e.ctrlKey) KEYS_DOWN.add("control");
|
||||
if (e.altKey) KEYS_DOWN.add("alt");
|
||||
if (e.shiftKey) KEYS_DOWN.add("shift");
|
||||
KEYS_DOWN.add(e.key.toLowerCase());
|
||||
}
|
||||
exports.addToKeysDown = addToKeysDown;
|
||||
|
Loading…
x
Reference in New Issue
Block a user