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

Remove some redundant method calls from ScriptEditor #88675

Merged

Conversation

MajorMcDoom
Copy link
Contributor

ScriptEditor::_update_script_names calls ScriptEditor::_update_script_colors, but there were a couple places where both are called back-to-back. This PR removes those instances of _update_script_colors. Tagging @KoBeWi to verify if this is actually a good idea.

@MajorMcDoom MajorMcDoom requested a review from a team as a code owner February 22, 2024 18:10
@AThousandShips AThousandShips changed the title Removed some redundant calls to _update_script_colors from ScriptEditor Remove some redundant calls to _update_script_colors from ScriptEditor Feb 22, 2024
@AThousandShips AThousandShips added this to the 4.3 milestone Feb 22, 2024
@MajorMcDoom MajorMcDoom force-pushed the script-editor-redundancy branch from 48c1132 to 943f6aa Compare February 22, 2024 18:13
@MajorMcDoom MajorMcDoom changed the title Remove some redundant calls to _update_script_colors from ScriptEditor Remove some redundant method calls from ScriptEditor Feb 22, 2024
@MajorMcDoom
Copy link
Contributor Author

Just pushed a change which did the same for _update_members_overview_visibility and _update_help_overview_visibility.

Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

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

Makes sense.

@akien-mga akien-mga merged commit abe73c3 into godotengine:master Feb 26, 2024
16 checks passed
@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.

4 participants