mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-23 05:08:34 +01:00
whoops
This commit is contained in:
parent
dbe7980add
commit
b83d7f3526
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue