1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Do not lose focus when moving through scene tree

(cherry picked from commit 138698e51f)
This commit is contained in:
qarmin
2019-03-06 12:10:09 +01:00
committed by Rémi Verschelde
parent e3ae29e666
commit 29a6e7d306

View File

@@ -4922,7 +4922,6 @@ void CanvasItemEditorPlugin::make_visible(bool p_visible) {
canvas_item_editor->show();
canvas_item_editor->set_physics_process(true);
VisualServer::get_singleton()->viewport_set_hide_canvas(editor->get_scene_root()->get_viewport_rid(), false);
canvas_item_editor->viewport->grab_focus();
} else {