mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: drag && drop
This commit is contained in:
@@ -376,7 +376,10 @@
|
||||
(reset! *touch-start nil))))))
|
||||
|
||||
(defn on-touch-cancel
|
||||
[_e]
|
||||
[e]
|
||||
(reset! *swipe nil)
|
||||
(reset! *swiped? nil)
|
||||
(reset! *touch-start nil))
|
||||
(reset! *touch-start nil)
|
||||
(let [target (.-target e)
|
||||
block-container (util/rec-get-node target "ls-block")]
|
||||
(dom/set-style! block-container :transform "translateX(0)")))
|
||||
|
||||
Reference in New Issue
Block a user