From e7a970d8738922969ff7ee48c40a159e6e5ca887 Mon Sep 17 00:00:00 2001 From: defclass Date: Wed, 28 Oct 2020 19:39:14 +0800 Subject: [PATCH] fix(shortcut): fix meta+c problem Closes https://github.com/logseq/logseq/issues/510 --- src/main/frontend/components/sidebar.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/components/sidebar.cljs b/src/main/frontend/components/sidebar.cljs index 23f8f7c05..617fd719f 100644 --- a/src/main/frontend/components/sidebar.cljs +++ b/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))