From 5190bb74adb5dbf6b83b6258205a55c5ab0e2461 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Sun, 29 Aug 2021 17:59:18 +0100 Subject: [PATCH] fix edit close on esc keyboard shortcut --- src/component/keyboard/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/component/keyboard/index.js b/src/component/keyboard/index.js index 8e08e3fd..a8bce5d6 100644 --- a/src/component/keyboard/index.js +++ b/src/component/keyboard/index.js @@ -19,6 +19,8 @@ keyboard.esc = new KeyboardShortcut({ action: () => { if (state.get.current().bookmark.edit && !state.get.current().modal && !state.get.current().menu) { bookmark.edit.close(); + group.edit.close(); + header.edit.close(); toolbar.current.update.edit(); }; data.save();