mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 07:35:01 +00:00
fix: clear selection when swipe to toggle a selected block
This commit is contained in:
@@ -1271,7 +1271,7 @@ Similar to re-frame subscriptions"
|
||||
|
||||
(defn drop-selection-block!
|
||||
[block]
|
||||
(set-selection-blocks-aux! (-> (remove #(= block %) (get-unsorted-selection-blocks))
|
||||
(set-selection-blocks-aux! (-> (remove #(= (.-id block) (.-id %)) (get-unsorted-selection-blocks))
|
||||
vec)))
|
||||
|
||||
(defn drop-selection-blocks-starts-with!
|
||||
|
||||
Reference in New Issue
Block a user