mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
focus indication border (or background) no longer hidden when temporary loosing focus (e.g. showing a popup menu)
This commit is contained in:
@@ -216,7 +216,7 @@ public class FlatJideTabbedPaneUI
|
||||
g.setColor( enabled && _tabPane.isEnabledAt( tabIndex ) &&
|
||||
(_indexMouseOver == tabIndex || (_closeButtons != null && ((JideTabbedPane.NoFocusButton)_closeButtons[tabIndex]).isMouseOver()))
|
||||
? hoverColor
|
||||
: (enabled && isSelected && _tabPane.hasFocus()
|
||||
: (enabled && isSelected && FlatUIUtils.isPermanentFocusOwner( _tabPane )
|
||||
? focusColor
|
||||
: _tabPane.getBackgroundAt( tabIndex )) );
|
||||
g.fillRect( x, y, w, h );
|
||||
|
||||
Reference in New Issue
Block a user