mirror of https://github.com/logseq/logseq
drag enter fix
parent
1ef3980f59
commit
ff77844767
|
@ -196,7 +196,7 @@
|
||||||
|
|
||||||
(rum/defc drop-indicator
|
(rum/defc drop-indicator
|
||||||
[idx drag-to]
|
[idx drag-to]
|
||||||
[:.sidebar-drop-indicator {:on-drag-enter #(when (not= drag-to idx) (reset! *drag-to idx))
|
[:.sidebar-drop-indicator {:on-drag-enter #(when drag-to (reset! *drag-to idx))
|
||||||
:on-drag-over util/stop
|
:on-drag-over util/stop
|
||||||
:class (when (= idx drag-to) "drag-over")}])
|
:class (when (= idx drag-to) "drag-over")}])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue