mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
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:
parent
4b164b8e47
commit
841b4dfeeb
3 changed files with 8 additions and 0 deletions
|
@ -340,7 +340,9 @@ void ScriptTextEditor::set_edit_state(const Variant &p_state) {
|
|||
}
|
||||
|
||||
if (editor_enabled) {
|
||||
#ifndef ANDROID_ENABLED
|
||||
ensure_focus();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue