소스 검색

Fixed Size::operator -

Nikita Tsukanov 9 년 전
부모
커밋
dd67d49960
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Perspex.SceneGraph/Size.cs

+ 1 - 1
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);
         }
 
         /// <summary>