-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Rename Control getters and setters to match properties #47248
Rename Control getters and setters to match properties #47248
Conversation
Do you mind listing the renames here directly? Otherwise it would be a pain to refactor PRs after this one. |
Done. |
Why this needs to be changed? We already use min/max for math functions, so it's not like the property is unclear. Also if we are expanding, |
Such changes where already made in the past. I think this is where it originated. |
It's probably to match the internal methods, which were |
Yep, IMO that would be better. The PR is about renaming these methods anyways. |
As suggested by @pycbouh, in this instance the property name was changed to better match the methods. Not just the exposed methods, but also
I agree that
I agree, but |
1a871ef
to
a7e08a4
Compare
a7e08a4
to
a9b1a9f
Compare
a9b1a9f
to
b83de02
Compare
Rebased following merge of #46273 and ran |
b83de02
to
1dc206c
Compare
1dc206c
to
80d383e
Compare
Given that some of these renames are obsolete because we renamed the properties instead, and that this PR has been inactive for over a year now, and we're at the end of the beta cycle, I'm going to close it. Thanks for your contribution nonetheless! Perhaps we'll be able to do more API cleanups in Godot 5 🙂 |
Part of #16863, originally identified by @AlexHolly here.
Includes renaming some properties to match the getters and setters where appropriate.
Method renames:
Property renames: