Fixed construction menu default size being huge

This commit is contained in:
moneyl
2019-05-17 10:36:29 -04:00
parent 4bb02d64fb
commit bc3942127b

View File

@@ -1,6 +1,7 @@
using Content.Client.GameObjects.Components.Construction;
using Robust.Client.Interfaces.Graphics;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.Maths;
using Robust.Shared.Utility;
namespace Content.Client.Construction
@@ -40,7 +41,10 @@ namespace Content.Client.Construction
private void PerformLayout()
{
Menu = new ConstructionMenu(_displayManager);
Menu = new ConstructionMenu(_displayManager)
{
Size = new Vector2(500.0f, 350.0f)
};
Menu.AddToScreen();
}