Merge pull request #36020 from Calinou/frame-selection-update-zoom-label

Update the zoom percentage when using Frame Selection in the 2D editor
This commit is contained in:
Rémi Verschelde 2020-02-08 23:44:18 +01:00 committed by GitHub
commit fd71f3c888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4967,6 +4967,7 @@ void CanvasItemEditor::_focus_selection(int p_op) {
zoom = scale_x < scale_y ? scale_x : scale_y; zoom = scale_x < scale_y ? scale_x : scale_y;
zoom *= 0.90; zoom *= 0.90;
viewport->update(); viewport->update();
_update_zoom_label();
call_deferred("_popup_callback", VIEW_CENTER_TO_SELECTION); call_deferred("_popup_callback", VIEW_CENTER_TO_SELECTION);
} }
} }