From 3e95b79b65ac88ad4df59dc4ba5eb05f9c8b68af Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 8 Feb 2020 18:29:28 +0100 Subject: [PATCH] Update the zoom percentage when using Frame Selection in the 2D editor This closes #36019. --- editor/plugins/canvas_item_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 1d8f3a2bbd7..a0e5b1c6ea3 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -4967,6 +4967,7 @@ void CanvasItemEditor::_focus_selection(int p_op) { zoom = scale_x < scale_y ? scale_x : scale_y; zoom *= 0.90; viewport->update(); + _update_zoom_label(); call_deferred("_popup_callback", VIEW_CENTER_TO_SELECTION); } }