Przeglądaj źródła

chore: add comment for single letter shortcuts

Konstantinos Kaloutas 3 lat temu
rodzic
commit
5d3e45e989
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/main/frontend/modules/shortcut/config.cljs

+ 1 - 0
src/main/frontend/modules/shortcut/config.cljs

@@ -31,6 +31,7 @@
 ;; To add a new entry to this map, first add it here and then
 ;; a description for it in frontend.modules.shortcut.dicts/all-default-keyboard-shortcuts.
 ;; :inactive key is for commands that are not active for a given platform or feature condition
+;; Avoid using single letter shortcuts to allow chords that start with those characters
 (def ^:large-vars/data-var all-default-keyboard-shortcuts
   {:date-picker/complete         {:binding "enter"
                                   :fn      ui-handler/shortcut-complete}