diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-19 20:14:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-19 20:14:26 +0200 |
commit | af51fbd994f1f5ece1f50617cb1aaf41369b8574 (patch) | |
tree | c2701e4aac11375c50446f55883fdb80b120b36a /editor/plugins/canvas_item_editor_plugin.h | |
parent | d55c840a0d44813b3dd9dc5da6bf2bbfd0c0164d (diff) | |
parent | 95f6f81dc2cd733f3b50e62c3a2286b04f8646bc (diff) |
Merge pull request #32174 from Calinou/2d-editor-display-zoom
Display the current zoom percentage in the 2D editor
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 4e030c63da..6cce1ca10e 100644 --- a/editor/plugins/canvas_item_editor_plugin.h +++ b/editor/plugins/canvas_item_editor_plugin.h @@ -525,6 +525,7 @@ private: HBoxContainer *zoom_hb; void _zoom_on_position(float p_zoom, Point2 p_position = Point2()); + void _update_zoom_label(); void _button_zoom_minus(); void _button_zoom_reset(); void _button_zoom_plus(); |