1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-11 00:40:24 +02:00
This commit is contained in:
Ellpeck 2019-12-14 14:07:00 +01:00
parent dbe7980add
commit b83d7f3526

View file

@ -69,7 +69,7 @@ namespace MLEM.Extensions {
public static RectangleF Shrink(this RectangleF rect, Padding padding) {
rect.X += padding.Left;
rect.Y += padding.Left;
rect.Y += padding.Top;
rect.Width -= padding.Width;
rect.Height -= padding.Height;
return rect;