mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #84944 from KoBeWi/legacy_of_ancient_godots
Fix some legacy code
This commit is contained in:
commit
ac5a528620
4 changed files with 11 additions and 22 deletions
|
@ -4415,13 +4415,9 @@ bool ScriptEditorPlugin::handles(Object *p_object) const {
|
|||
void ScriptEditorPlugin::make_visible(bool p_visible) {
|
||||
if (p_visible) {
|
||||
window_wrapper->show();
|
||||
script_editor->set_process(true);
|
||||
script_editor->ensure_select_current();
|
||||
} else {
|
||||
window_wrapper->hide();
|
||||
if (!window_wrapper->get_window_enabled()) {
|
||||
script_editor->set_process(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue