diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-10-02 23:42:43 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-02 23:42:43 +0700 |
commit | 980e78749b738ee224468730593fef401d415740 (patch) | |
tree | eb7d1f66bf427c26c7b12d4013da0ffe937458b6 /editor/plugins/canvas_item_editor_plugin.h | |
parent | e8f0817eac919469ef1a97a077b0d6a9cab51bf4 (diff) | |
parent | a0fb178b58d24d886bfa417a9fe5f298ce5e3e58 (diff) |
Merge pull request #11743 from groud/zoom_button_fix
Fix zoom button not zooming on the screen center
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.h')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h index af834507e0..bb4e584f2a 100644 --- a/editor/plugins/canvas_item_editor_plugin.h +++ b/editor/plugins/canvas_item_editor_plugin.h @@ -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(); |