1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-23 05:08:34 +01: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) { public static RectangleF Shrink(this RectangleF rect, Padding padding) {
rect.X += padding.Left; rect.X += padding.Left;
rect.Y += padding.Left; rect.Y += padding.Top;
rect.Width -= padding.Width; rect.Width -= padding.Width;
rect.Height -= padding.Height; rect.Height -= padding.Height;
return rect; return rect;