enhance(ux): shift select after esc

This commit is contained in:
Tienson Qin
2022-06-16 05:49:59 +08:00
parent 55bd894230
commit a79880eb83
4 changed files with 29 additions and 22 deletions

View File

@@ -1210,7 +1210,7 @@
(defn highlight-selection-area!
[end-block]
(when-let [start-block (state/get-selection-start-block)]
(when-let [start-block (state/get-selection-start-block-or-first)]
(let [blocks (util/get-nodes-between-two-nodes start-block end-block "ls-block")
direction (util/get-direction-between-two-nodes start-block end-block "ls-block")