diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-07-06 17:42:44 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-07-06 17:42:44 -0300 |
commit | bd9d98c172bd4e9aab962f8df675120bf9f7b085 (patch) | |
tree | 8f4d7a8b054f8a4afaf249228a5de4575c9733dd /editor/plugins/canvas_item_editor_plugin.h | |
parent | fd9b4ba6e6ce42080c728a11031a12f90cfbfb1d (diff) |
Ability to set rotation and scaling pivot for controls.
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 22fa5b5db8..702deb51f9 100644 --- a/editor/plugins/canvas_item_editor_plugin.h +++ b/editor/plugins/canvas_item_editor_plugin.h @@ -56,6 +56,7 @@ public: Transform2D prev_xform; float prev_rot; Rect2 prev_rect; + Vector2 prev_pivot; CanvasItemEditorSelectedItem() { prev_rot = 0; } }; |