You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix input passing to script editor even if not visible
This commit is contained in:
@@ -1694,7 +1694,7 @@ void ScriptEditor::ensure_select_current() {
|
||||
|
||||
Ref<Script> script = ste->get_edited_script();
|
||||
|
||||
if (!grab_focus_block && is_inside_tree())
|
||||
if (!grab_focus_block && is_visible())
|
||||
ste->get_text_edit()->grab_focus();
|
||||
|
||||
edit_menu->show();
|
||||
|
||||
Reference in New Issue
Block a user