mirror of https://github.com/logseq/logseq
fix: lint warnings
parent
152cc22010
commit
515b89182d
|
@ -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?)
|
||||
|
@ -2790,7 +2790,7 @@
|
|||
[:span.opacity-60.text-sm.ml-2.results-count
|
||||
(str (count transformed-query-result) " results")]]
|
||||
;;insert an "edit" button in the query view
|
||||
(when-not built-in?
|
||||
(when-not built-in?
|
||||
[:a.opacity-70.hover:opacity-100.svg-small.inline
|
||||
{:on-mouse-down (fn [e]
|
||||
(util/stop e)
|
||||
|
|
Loading…
Reference in New Issue