mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-10 17:33:24 +01:00
Fix double first key on edit
This commit is contained in:
parent
3b5e03b922
commit
151590e024
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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($);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user