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

Reorganize code of control.cpp for better maintainability #63318

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

YuriSizov
Copy link
Contributor

Wanted to do this for a very long time. Existing code in control.cpp is a big mess with methods sometimes ending up in completely random places. Yes, this PR would make it harder to navigate the history of this core file, but working with it as it stands makes Jack a very dull boy.

This change has no functional difference, it's just a reorder of things. I've only renamed _override_changed to _theme_property_override_changed to make its purpose clear. It's an internal method, so it doesn't affect anything. There are some other things that could be renamed, but they have an effect way outside of this class, so I didn't touch it here.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@akien-mga akien-mga merged commit d04c154 into godotengine:master Jul 27, 2022
@akien-mga
Copy link
Member

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.

2 participants