Skip to content

Commit

Permalink
better menus
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Aug 8, 2024
1 parent d2b2443 commit b76392c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions haxe/ui/containers/menus/Menu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ private class CurrentItemBehaviour extends DataBehaviour {
_menu.currentIndex = index;

for (child in _menu.childComponents) {
child.removeClass(":hover", true, true);
//child.removeClass(":hover", true, true);
}

var item:Component = _value;
if (menuItem != null) {
menuItem.addClass(":hover", true, true);
//menuItem.addClass(":hover", true, true);
}
}
}
Expand All @@ -102,7 +102,7 @@ class MenuEvents extends haxe.ui.events.Events {
public var currentSubMenu:Menu = null;
public var parentMenu:Menu = null;

private static inline var TIME_MOUSE_OPENS_MS:Int =400;
private static inline var TIME_MOUSE_OPENS_MS:Int = 400;
private var _timer:Timer = null;

public var button:Button = null;
Expand Down

0 comments on commit b76392c

Please sign in to comment.