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

Tree - fix ui_select #101842

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Tree - fix ui_select #101842

merged 1 commit into from
Jan 21, 2025

Conversation

havi05
Copy link
Contributor

@havi05 havi05 commented Jan 20, 2025

Fixes a bug found in #101160

ui_accept and ui_select are programmed so that they are mutually exclusive.
The default assignments is:
ui_accept - Enter and Space
ui_select - Space

I have decided to just change the order of these checks, because I think it would be confusing if both actions would be triggered and because ui_accept can use a different key (Enter) instead.

@havi05 havi05 requested a review from a team as a code owner January 20, 2025 16:35
@KoBeWi KoBeWi added this to the 4.4 milestone Jan 20, 2025
@KoBeWi
Copy link
Member

KoBeWi commented Jan 20, 2025

This fix works for default controls, but with custom input actions you can still run into the same problem, but reverse. Although not sure how it can be handled better. Maybe it's not worrying about.

@Repiteo Repiteo merged commit 672fd7b into godotengine:master Jan 21, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jan 21, 2025

Thanks!

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.

3 participants