fix edit close on esc keyboard shortcut
This commit is contained in:
parent
9c84540c1b
commit
5190bb74ad
|
@ -19,6 +19,8 @@ keyboard.esc = new KeyboardShortcut({
|
||||||
action: () => {
|
action: () => {
|
||||||
if (state.get.current().bookmark.edit && !state.get.current().modal && !state.get.current().menu) {
|
if (state.get.current().bookmark.edit && !state.get.current().modal && !state.get.current().menu) {
|
||||||
bookmark.edit.close();
|
bookmark.edit.close();
|
||||||
|
group.edit.close();
|
||||||
|
header.edit.close();
|
||||||
toolbar.current.update.edit();
|
toolbar.current.update.edit();
|
||||||
};
|
};
|
||||||
data.save();
|
data.save();
|
||||||
|
|
Loading…
Reference in New Issue