mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Fix some legacy code
This commit is contained in:
parent
3978628c6c
commit
0d1c388991
4 changed files with 11 additions and 22 deletions
|
|
@ -4412,13 +4412,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