Skip to content

Commit

Permalink
enhance: clear selection ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Mar 23, 2023
1 parent e6c329d commit cb2c1f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/frontend/state.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,7 @@ Similar to re-frame subscriptions"

(defn clear-selection!
[]
(util/clear-selection!)
(swap! state assoc
:selection/mode false
:selection/blocks nil
Expand Down

0 comments on commit cb2c1f1

Please sign in to comment.