call processHotkeys debounced
This commit is contained in:
parent
7c0cf50d80
commit
92ec45af4b
|
@ -884,8 +884,9 @@ export function initRossMods() {
|
|||
}
|
||||
|
||||
$(document).on('keydown', function (event) {
|
||||
processHotkeys(event.originalEvent);
|
||||
processHotkeysDebounced(event.originalEvent);
|
||||
});
|
||||
const processHotkeysDebounced = debounce(processHotkeys);
|
||||
|
||||
//Additional hotkeys CTRL+ENTER and CTRL+UPARROW
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue