You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
It is possible for a component to be disabled while it has focus. Component.hasFocus will still return true. SubstanceCoreUtilities.paintFocus (line 1581) should request the focus strength with a combination of hasFocus and isEnabled:
It is possible for a component to be disabled while it has focus. Component.hasFocus will still return true. SubstanceCoreUtilities.paintFocus (line 1581) should request the focus strength with a combination of hasFocus and isEnabled:
float focusStrength = transitionAwareUI.getTransitionTracker()
.getFocusStrength(focusedComp.hasFocus() && focusedComp.isEnabled());
This will allow disabled component to not paint focus.
The text was updated successfully, but these errors were encountered: