-
-
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
Tweak property order in the inspector for OptionButton #88145
Tweak property order in the inspector for OptionButton #88145
Conversation
There was a comment that said: |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
I think |
That's true! Got it confused because of the slightly backwards named comment, would be clearer if it said Note though @Ratamacue9112 that this isn't an error being thrown, so make sure to check the issue report to make sure it doesn't reappear: Because this was solved by moving this exact thing to where it is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does indeed break the class, and selected
breaks with this change, it works fine without this change
Ah sorry, didn't notice that. I'm trying to work out a fix now, any suggestions? |
No, it'd require quite a bit of reorganization I think, you can't change any of the names of the properties, and we can't delay initializing this property, so I'm not sure how it would be possible to fix this without reworking quite a bit |
The initializing can be delayed. You can add a new boolean e.g. |
It's true we can delay the rest of the processing, what I meant was that we can't directly delay it with some property flag, hence the rework need |
@KoBeWi Where should I put the check for |
It should be in the setter. |
4e26c81
to
e49f941
Compare
I've fixed it now. It only worked when I put check if |
e49f941
to
1fb5bbf
Compare
1fb5bbf
to
45b9cbd
Compare
I will test this out later today :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works correctly, thank you!
Thanks! And congrats for your first merged Godot contribution 🎉 |
Fixes #88141. Moves the
items
property to below other properties.