Skip to content

Commit

Permalink
fix: don't clear selection when in editing mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Jun 21, 2022
1 parent 9837036 commit 59c0b9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/frontend/components/sidebar.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,8 @@
[e]
(state/hide-custom-context-menu!)
(when-not (or (gobj/get e "shiftKey")
(util/meta-key? e))
(util/meta-key? e)
(state/get-edit-input-id))
(editor-handler/clear-selection!)))

(rum/defcs ^:large-vars/cleanup-todo sidebar <
Expand Down

0 comments on commit 59c0b9a

Please sign in to comment.