Disable logic that triggers automatic focus gain as the Godot Editor is loaded

For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
This commit is contained in:
Fredia Huya-Kouadio 2022-09-05 22:13:03 -07:00
parent 4b164b8e47
commit 841b4dfeeb
3 changed files with 8 additions and 0 deletions

View file

@ -340,7 +340,9 @@ void ScriptTextEditor::set_edit_state(const Variant &p_state) {
}
if (editor_enabled) {
#ifndef ANDROID_ENABLED
ensure_focus();
#endif
}
}