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:
1 parent
4b164b8e47
commit
841b4dfeeb
3 files changed
+8
No files matched your search
@@ -340,7 +340,9 @@ void ScriptTextEditor::set_edit_state(const Variant &p_state) {
|
||||
}
|
||||
|
||||
if (editor_enabled) {
|
||||
#ifndef ANDROID_ENABLED
|
||||
ensure_focus();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user