mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 01:44:19 +01:00
invoke later on action on keydown
This commit is contained in:
parent
6a31f7a4c2
commit
b6560e193c
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ InputManager.prototype.handleKeyPress = function(e) {
|
|||
|
||||
for (let action in this.keymap) {
|
||||
if (jwerty.is(this.keymap[action], e)) {
|
||||
this.app.actionManager.run(action, e);
|
||||
setTimeout(() => this.app.actionManager.run(action, e), 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue