-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CheckBox and CheckButton ignores hover style when checked ON (pressed) #19429
Comments
In a normal button |
Godot version:
3.0.2 and master (3d5aabe)
OS/device including version:
All.
Issue description:
When a CheckBox or CheckButton is checked ON, no custom style is applied.
This was mentioned initially in #8640 by @hickop and @ProbDenis, and I can confirm it:
From my tests (see attached project below), the issue seems to be that the "pressed" style has precedence on the "hover" style, so when the box/button is ticked ON (pressed), only the pressed style is applied.
I'm not sure if this should be fixed by making the "hover" style have precedence on the "pressed" style (just like it has precedence on the "normal"/unpressed style), or if there should be another "pressed + hover" style. I guess the former might be fine, but were some using this as a feature?
Steps to reproduce:
custom_styles
propertiesMinimal reproduction project:
checkbox_pressed_hover.zip
The text was updated successfully, but these errors were encountered: