Skip to content
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

Make Menu/OptionButton item auto-highlight behave better #64635

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

YeldhamDev
Copy link
Member

This fixes some stuff with the auto-highlight feature for the Menu/OptionButton nodes. Now, it checks if the mouse was actually used, instead of just relying on the "ui_accept" event. With that, triggering the buttons with a shortcut should also trigger the auto-highlight as well.

@akien-mga akien-mga merged commit b7d2ba1 into godotengine:master Aug 24, 2022
@akien-mga
Copy link
Member

Thanks!

@YeldhamDev YeldhamDev deleted the menu_buttons_popup_fix branch August 24, 2022 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LMB in ui_accept no longer working with OptionButton
2 participants