changeset 10515:102196732695

8088389: [CSS, HighContrast] Menu - All the menu items look disabled on Mouse Click / Roll Over Reviewed-by: jgiles
author pkbalakr
date Thu, 08 Jun 2017 14:15:15 +1200
parents b4f6803ba120
children 70e893b9dace
files modules/javafx.controls/src/main/java/javafx/scene/control/skin/MenuBarSkin.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.controls/src/main/java/javafx/scene/control/skin/MenuBarSkin.java	Thu Jun 08 13:57:58 2017 +1200
+++ b/modules/javafx.controls/src/main/java/javafx/scene/control/skin/MenuBarSkin.java	Thu Jun 08 14:15:15 2017 +1200
@@ -1053,6 +1053,7 @@
             openMenu = null;
             openMenuButton = (MenuBarButton)container.getChildren().get(focusedMenuIndex);
             openMenuButton.clearHover();
+            openMenuButton.disarm();
             openMenuButton = null;
             menuModeEnd();
         }