[Bug]: Repeated keyboard shortcuts ignored

Fixes #292
This commit is contained in:
Victor Seiji Hariki 2024-08-23 00:43:17 -03:00
parent e7c08846d2
commit e3e24e76d4

View file

@ -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,