Fixed construction menu default size being huge
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
using Content.Client.GameObjects.Components.Construction;
|
using Content.Client.GameObjects.Components.Construction;
|
||||||
using Robust.Client.Interfaces.Graphics;
|
using Robust.Client.Interfaces.Graphics;
|
||||||
using Robust.Client.UserInterface.Controls;
|
using Robust.Client.UserInterface.Controls;
|
||||||
|
using Robust.Shared.Maths;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
|
|
||||||
namespace Content.Client.Construction
|
namespace Content.Client.Construction
|
||||||
@@ -40,7 +41,10 @@ namespace Content.Client.Construction
|
|||||||
|
|
||||||
private void PerformLayout()
|
private void PerformLayout()
|
||||||
{
|
{
|
||||||
Menu = new ConstructionMenu(_displayManager);
|
Menu = new ConstructionMenu(_displayManager)
|
||||||
|
{
|
||||||
|
Size = new Vector2(500.0f, 350.0f)
|
||||||
|
};
|
||||||
Menu.AddToScreen();
|
Menu.AddToScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user