fix: add backspace and delete to global keys

pull/1656/head
Tienson Qin 2021-04-10 09:49:25 +08:00
parent 0de89fa43c
commit 2aadcc671f
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
(mapv mod-key)))) (mapv mod-key))))
(def global-keys #js (def global-keys #js
[KeyCodes/ENTER KeyCodes/TAB [KeyCodes/ENTER KeyCodes/TAB KeyCodes/BACKSPACE KeyCodes/DELETE
KeyCodes/UP KeyCodes/LEFT KeyCodes/DOWN KeyCodes/RIGHT]) KeyCodes/UP KeyCodes/LEFT KeyCodes/DOWN KeyCodes/RIGHT])
(defn install-shortcut! (defn install-shortcut!