mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ui: erase "isHovered" ActionButton state when it is hidden
Button stucks in "hovered" mode, if click on it causes active Toolwindow tab to change (thus, hiding the toolbar with this button). Or if active tab is changed by hotkey press while button is being hovered.
This commit is contained in:
@@ -204,6 +204,8 @@ public class ActionButton extends JComponent implements ActionButtonComponent, A
|
||||
myPresentation.removePropertyChangeListener(myPresentationListener);
|
||||
myPresentationListener = null;
|
||||
}
|
||||
myRollover = false;
|
||||
myMouseDown = false;
|
||||
super.removeNotify();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user