set it as the starting block when no blocks are selected when shift clicking

pull/10763/head
Mega Yu 2023-07-20 10:38:35 +08:00 committed by Tienson Qin
parent 13773c9fac
commit 805efabb22
1 changed files with 3 additions and 1 deletions

View File

@ -2180,7 +2180,9 @@
(editor-handler/highlight-selection-area! block-id))
shift?
(util/clear-selection!)
(do
(util/clear-selection!)
(state/set-selection-start-block! block-id))
:else
(do