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

Allow clicking buttons of non-selectable TreeItems #83065

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Oct 9, 2023

If you have a TreeItem which is not selectable nor editable, clicking anywhere will collapse/uncollapse it. The problem is that it prevents buttons from being clicked. This PR moves the button logic before the full-item fold, making them interactable.

Needed for #82629

@KoBeWi KoBeWi added this to the 4.2 milestone Oct 9, 2023
@KoBeWi KoBeWi requested a review from a team as a code owner October 9, 2023 20:43
@akien-mga akien-mga merged commit 6f8b7e9 into godotengine:master Oct 10, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the tree_works_in_mysterious_ways branch October 10, 2023 10:39
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