Browse Source

Fixed Size::operator -

pull/517/head
Nikita Tsukanov 11 years ago
parent
commit
dd67d49960
  1. 2
      src/Perspex.SceneGraph/Size.cs

2
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>

Loading…
Cancel
Save