mirror of https://github.com/logseq/logseq
fix: lint warnings
parent
152cc22010
commit
515b89182d
|
@ -2308,7 +2308,7 @@
|
||||||
(editor-handler/unhighlight-blocks!))
|
(editor-handler/unhighlight-blocks!))
|
||||||
|
|
||||||
(defn- block-mouse-over
|
(defn- block-mouse-over
|
||||||
[uuid e *control-show? block-id doc-mode?]
|
[e *control-show? block-id doc-mode?]
|
||||||
(when-not @*dragging?
|
(when-not @*dragging?
|
||||||
(util/stop e)
|
(util/stop e)
|
||||||
(reset! *control-show? true)
|
(reset! *control-show? true)
|
||||||
|
@ -2473,7 +2473,7 @@
|
||||||
(block-handler/on-touch-end event block uuid *show-left-menu? *show-right-menu?))
|
(block-handler/on-touch-end event block uuid *show-left-menu? *show-right-menu?))
|
||||||
:on-touch-cancel block-handler/on-touch-cancel
|
:on-touch-cancel block-handler/on-touch-cancel
|
||||||
:on-mouse-over (fn [e]
|
:on-mouse-over (fn [e]
|
||||||
(block-mouse-over uuid e *control-show? block-id doc-mode?))
|
(block-mouse-over e *control-show? block-id doc-mode?))
|
||||||
:on-mouse-leave (fn [e]
|
:on-mouse-leave (fn [e]
|
||||||
(block-mouse-leave e *control-show? block-id doc-mode?))}
|
(block-mouse-leave e *control-show? block-id doc-mode?))}
|
||||||
(when (not slide?)
|
(when (not slide?)
|
||||||
|
|
Loading…
Reference in New Issue