fix: lint warnings

pull/5600/head
Tienson Qin 2022-06-08 16:35:04 +08:00
parent 152cc22010
commit 515b89182d
1 changed files with 3 additions and 3 deletions

View File

@ -2308,7 +2308,7 @@
(editor-handler/unhighlight-blocks!))
(defn- block-mouse-over
[uuid e *control-show? block-id doc-mode?]
[e *control-show? block-id doc-mode?]
(when-not @*dragging?
(util/stop e)
(reset! *control-show? true)
@ -2473,7 +2473,7 @@
(block-handler/on-touch-end event block uuid *show-left-menu? *show-right-menu?))
:on-touch-cancel block-handler/on-touch-cancel
: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]
(block-mouse-leave e *control-show? block-id doc-mode?))}
(when (not slide?)