summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/Rect2.cs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/glue/cs_files/Rect2.cs')
-rw-r--r--modules/mono/glue/cs_files/Rect2.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/glue/cs_files/Rect2.cs b/modules/mono/glue/cs_files/Rect2.cs
index e772665009..cb25c267bc 100644
--- a/modules/mono/glue/cs_files/Rect2.cs
+++ b/modules/mono/glue/cs_files/Rect2.cs
@@ -29,6 +29,7 @@ namespace Godot
public Vector2 End
{
get { return _position + _size; }
+ set { _size = value - _position; }
}
public real_t Area