Fix double first key on edit

This commit is contained in:
Paulo Gustavo Veiga 2022-02-17 20:12:03 -08:00
parent 3b5e03b922
commit 151590e024
2 changed files with 1 additions and 2 deletions

View File

@ -284,7 +284,7 @@ class DesignerKeyboard extends Keyboard {
if (event.ctrlKey || event.altKey || event.metaKey) {
return;
}
nodes[0].showTextEditor(pressKey);
nodes[0].showTextEditor('');
event.stopPropagation();
}
}

View File

@ -22,7 +22,6 @@ import initHotKeyPluggin from '../../../../libraries/jquery.hotkeys';
import Events from './Events';
import ActionDispatcher from './ActionDispatcher';
import Topic from './Topic';
import { Designer } from '..';
initHotKeyPluggin($);