fix: tighten up OS key smoothing
This commit is contained in:
parent
88fa01c920
commit
7c976ad8c0
|
@ -34,7 +34,7 @@ export default function addKeyListener(target, listener) {
|
|||
delete keyUpDelays[key];
|
||||
delete keysDown[key];
|
||||
listener({event, type: 'keyUp', payload: key});
|
||||
}, 20);
|
||||
}, 5);
|
||||
}
|
||||
window.addEventListener('blur', onBlur);
|
||||
window.addEventListener('keyup', onKeyUp);
|
||||
|
|
Loading…
Reference in New Issue
Block a user