From dd67d4996037dba57691b8b68af25f45c6156abc Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Mon, 18 Apr 2016 23:49:03 +0300 Subject: [PATCH] Fixed Size::operator - --- src/Perspex.SceneGraph/Size.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Perspex.SceneGraph/Size.cs b/src/Perspex.SceneGraph/Size.cs index 4370b14bda..1e7acc0096 100644 --- a/src/Perspex.SceneGraph/Size.cs +++ b/src/Perspex.SceneGraph/Size.cs @@ -125,7 +125,7 @@ namespace Perspex public static Size operator -(Size size, Size toSubstract) { - return new Size(size._width + toSubstract._width, size._height + toSubstract._height); + return new Size(size._width - toSubstract._width, size._height - toSubstract._height); } ///