浏览代码

fix(shortcut): fix meta+c problem

Closes https://github.com/logseq/logseq/issues/510
defclass 5 年之前
父节点
当前提交
e7a970d873
共有 1 个文件被更改,包括 2 次插入1 次删除
  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))