summaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-12 20:08:31 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-12 20:08:31 +0100
commit318af8f36c328cfc778df15d04e5b4596ac00b7f (patch)
treef4e02af97139f319f4ea4276b0ad4f7dd2873cb4 /editor/plugins/canvas_item_editor_plugin.h
parent800216924cdf82706eb56f0c427cd8a2b03f32c1 (diff)
parent1fa5597520e4bf3c0d17b4ca72f5feb88f2664ec (diff)
Merge pull request #71272 from MewPurPur/fix-frame-selection
Fix the Frame Selection (Shift + F) functionality in the 2D editor
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.h')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.h1
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 8f02f02c32..f4fcc8a3d2 100644
--- a/editor/plugins/canvas_item_editor_plugin.h
+++ b/editor/plugins/canvas_item_editor_plugin.h
@@ -550,6 +550,7 @@ public:
void edit(CanvasItem *p_canvas_item);
void focus_selection();
+ void center_at(const Point2 &p_pos);
EditorSelection *editor_selection = nullptr;