mirror of https://github.com/logseq/logseq
fix: selection
parent
e9ebf54ecb
commit
c120dd4d3b
|
@ -112,7 +112,6 @@
|
|||
:editor/last-saved-cursor nil
|
||||
:editor/editing? nil
|
||||
:editor/last-edit-block-input-id nil
|
||||
:editor/last-edit-block-id nil
|
||||
:editor/in-composition? false
|
||||
:editor/content {}
|
||||
:editor/block nil
|
||||
|
@ -737,7 +736,7 @@
|
|||
(let [last-block (peek (vec (:selection/blocks @state)))]
|
||||
(swap! state assoc
|
||||
:selection/mode true
|
||||
:selection/blocks (vec (pop (:selection/blocks @state))))
|
||||
:selection/blocks (pop (vec (:selection/blocks @state))))
|
||||
last-block))
|
||||
|
||||
(defn get-selection-direction
|
||||
|
|
Loading…
Reference in New Issue