mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 14:39:48 +00:00
enhance: polish based on Zhiyuan's suggestion
This commit is contained in:
@@ -458,8 +458,8 @@
|
||||
(defn- hide-context-menu-and-clear-selection
|
||||
[e]
|
||||
(state/hide-custom-context-menu!)
|
||||
(when (and (not (gobj/get e "shiftKey"))
|
||||
(not (util/meta-key? e)))
|
||||
(when-not (or (gobj/get e "shiftKey")
|
||||
(util/meta-key? e))
|
||||
(editor-handler/clear-selection!)))
|
||||
|
||||
(rum/defcs ^:large-vars/cleanup-todo sidebar <
|
||||
|
||||
Reference in New Issue
Block a user