Browse Source

Merge pull request #177 from logseq/defclass/fix/cmd-c-commit

fix(shortcut): fix meta+c problem
Tienson Qin 5 years ago
parent
commit
0d05b84fde
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/components/sidebar.cljs

+ 2 - 1
src/main/frontend/components/sidebar.cljs

@@ -233,7 +233,8 @@
             (when (and (not (util/input? (gobj/get e "target")))
                        (not (gobj/get e "shiftKey"))
                        (not (gobj/get e "ctrlKey"))
-                       (not (gobj/get e "altKey")))
+                       (not (gobj/get e "altKey"))
+                       (not (gobj/get e "metaKey")))
               (when-let [repo-url (state/get-current-repo)]
                 (if (and
                      (not (state/get-edit-input-id))