mirror of https://github.com/logseq/logseq
feat: allow mouseenter to change on-choosen
parent
1880618c61
commit
1cfddafdfe
|
@ -372,6 +372,7 @@
|
|||
(menu-link
|
||||
{:id (str "ac-" idx)
|
||||
:class (when chosen? "chosen")
|
||||
:on-mouse-enter #(reset! current-idx idx)
|
||||
:on-mouse-down (fn [e]
|
||||
(util/stop e)
|
||||
(if (and (gobj/get e "shiftKey") on-shift-chosen)
|
||||
|
|
Loading…
Reference in New Issue