-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
BaseButton property "enabled_focus_mode" is redundant #41529
Comments
Removing a property technically breaks the API, so we can remove it in the |
Sounds good. Should I make these changes or someone would do that? |
@FIF15 Feel free to open a pull request to do that 🙂 Make sure to update the associated documentation in the pull request. |
I agree with the proposal, #16152 did remove the only use of |
of BaseButton see godotengine#41529 for details this closes godotengine#41529
Godot version:
3.2
OS/device including version:
no specific
Issue description:
#4300 added a prop to BaseButton called "enabled_focus_mode" for setting the focus mode for enabled buttons. At that time, buttons would set focus mode to FOCUS_NONE on disabling and set to "enabled_focus_mode" when enabling. However, #16152 removed above logic, but leaving the prop "enabled_focus_mode" there.
Currently, this prop is really confusing that it would not have any effect when calling "BaseButton::set_enabled_focus_mode" on a disabled button without any warning, and has the exactly same behavior as the "Control::set_focus_mode" on an enabled button.
The text was updated successfully, but these errors were encountered: