parent
e7c08846d2
commit
e3e24e76d4
1 changed files with 3 additions and 0 deletions
|
@ -660,6 +660,9 @@ window.onkeyup = (evn) => {
|
|||
});
|
||||
}
|
||||
|
||||
if (keyboard.keys[evn.code]._hold_to)
|
||||
clearTimeout(keyboard.keys[evn.code]._hold_to);
|
||||
|
||||
keyboard.keys[evn.code] = {
|
||||
pressed: false,
|
||||
held: false,
|
||||
|
|
Loading…
Reference in a new issue