You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Update the zoom percentage when using Frame Selection in the 2D editor
This closes #36019.
(cherry picked from commit 3e95b79b65)
This commit is contained in:
committed by
Rémi Verschelde
parent
0fb35401d4
commit
93b99f2c89
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user