소스 검색

chore: add comment for single letter shortcuts

Konstantinos Kaloutas 3 년 전
부모
커밋
5d3e45e989
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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}