Browse Source

enhance: clear selection ranges

Tienson Qin 2 years ago
parent
commit
cb2c1f1d6a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/frontend/state.cljs

+ 1 - 0
src/main/frontend/state.cljs

@@ -973,6 +973,7 @@ Similar to re-frame subscriptions"
 
 (defn clear-selection!
   []
+  (util/clear-selection!)
   (swap! state assoc
          :selection/mode false
          :selection/blocks nil