summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/Rect2.cs
diff options
context:
space:
mode:
authorKelly Thomas <kelly.thomas@hotmail.com.au>2018-08-23 23:45:18 +0800
committerKelly Thomas <kelly.thomas@hotmail.com.au>2018-08-23 23:45:18 +0800
commit46207ae7aa19fb99476299d98cccba8cd5df7fb6 (patch)
treee2245c432afdf6d2dbbeb67d4c03431f62974943 /modules/mono/glue/cs_files/Rect2.cs
parente3014467e4e5c53b9cf072c3fb26c079fbe24104 (diff)
[Mono] AABB - Position, Size, End setters, Rect2 - End setter
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