Browse Source

enhance(ui/auto-complete): split hover and focus status

kkkiio 3 years ago
parent
commit
e46452f6de
2 changed files with 0 additions and 2 deletions
  1. 0 1
      src/main/frontend/components/command_palette.css
  2. 0 1
      src/main/frontend/ui.cljs

+ 0 - 1
src/main/frontend/components/command_palette.css

@@ -16,7 +16,6 @@
     }
 
     .menu-link {
-      background-color: transparent;
       transition: none;
       border: none;
       border-radius: unset !important;

+ 0 - 1
src/main/frontend/ui.cljs

@@ -432,7 +432,6 @@
                     (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)