summaryrefslogtreecommitdiff
path: root/scene/2d/position_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/position_2d.cpp')
-rw-r--r--scene/2d/position_2d.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/2d/position_2d.cpp b/scene/2d/position_2d.cpp
index 37f6aaa2d6..64d23719e7 100644
--- a/scene/2d/position_2d.cpp
+++ b/scene/2d/position_2d.cpp
@@ -44,6 +44,10 @@ Rect2 Position2D::_edit_get_rect() const {
return Rect2(Point2(-10, -10), Size2(20, 20));
}
+bool Position2D::_edit_use_rect() const {
+ return false;
+}
+
void Position2D::_notification(int p_what) {
switch (p_what) {