1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Fix zoom button not zooming on the screen center

This commit is contained in:
Gilles Roudiere
2017-10-01 11:30:38 +02:00
parent 0c82d113ed
commit a0fb178b58
2 changed files with 22 additions and 44 deletions

View File

@@ -387,6 +387,7 @@ class CanvasItemEditor : public VBoxContainer {
void _set_anchors_preset(Control::LayoutPreset p_preset);
void _set_full_rect();
void _zoom_on_position(float p_zoom, Point2 p_position = Point2());
void _zoom_minus();
void _zoom_reset();
void _zoom_plus();