Added GUINumberInputs to the extra cargo menu, minor additions to GUINumberInput

This commit is contained in:
Joonas Rikkonen
2017-07-02 22:17:12 +03:00
parent 8ae2fb225c
commit 8e880b2ded
3 changed files with 20 additions and 41 deletions
@@ -73,12 +73,11 @@ namespace Barotrauma
child.Rect = new Rectangle(child.Rect.X + value.X - rect.X, child.Rect.Y + value.Y - rect.Y, child.Rect.Width, child.Rect.Height);
}
rect = value;
if (value.Width != rect.Width || value.Height != rect.Height)
{
SetTextPos();
}
rect = value;
}
}