mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +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) {
|
if (event.ctrlKey || event.altKey || event.metaKey) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
nodes[0].showTextEditor(pressKey);
|
nodes[0].showTextEditor('');
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,6 @@ import initHotKeyPluggin from '../../../../libraries/jquery.hotkeys';
|
|||||||
import Events from './Events';
|
import Events from './Events';
|
||||||
import ActionDispatcher from './ActionDispatcher';
|
import ActionDispatcher from './ActionDispatcher';
|
||||||
import Topic from './Topic';
|
import Topic from './Topic';
|
||||||
import { Designer } from '..';
|
|
||||||
|
|
||||||
initHotKeyPluggin($);
|
initHotKeyPluggin($);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user