mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: selection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user