Jelajahi Sumber

fix(shortcut): fix meta+c problem

Closes https://github.com/logseq/logseq/issues/510
defclass 5 tahun lalu
induk
melakukan
e7a970d873
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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))