-
-
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
Add compatibility rename of (v)align
properties of Label
#82894
Add compatibility rename of (v)align
properties of Label
#82894
Conversation
This will break |
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 needs to be done in a dedicated conversion in Label
as it will break other cases otherwise, see the code for TextureRect
for how to do this
Do you mean the |
It would handle old properties stored with the old name and convert them to the new property |
Ok, I created another |
It's called in many cases but here it is relevant when a scene file is loaded |
Looks good! Could you squash the commits? See PR workflow for instructions. |
(v)align
properties of Label
If you could also update your commitmit message after squashing as the current message implies that the property was renamed, the title of the PR for example |
dc64e4c
to
0be873b
Compare
Done! |
I've already approved it? No need for further approval over the cleanup Edit: Sorry over confusion if it was the workflow, no rush |
Thanks! |
Thanks a lot! |
Fixes #74493
Now when converting a project from 3 to 4, it is also renamed the
align
andvalign
properties tohorizontal_align
andvertical_align
.