Move GUI size init into constructor
Setting the initial size in `Initialize` has no effect on the windows size so it's set in the constructor instead.
This commit is contained in:
@@ -48,7 +48,11 @@ namespace Content.Client.Construction
|
||||
// This list is flattened in such a way that the top most deepest category is first.
|
||||
List<CategoryNode> FlattenedCategories;
|
||||
PlacementManager Placement;
|
||||
public ConstructionMenu(IDisplayManager displayMan) : base(displayMan) { }
|
||||
|
||||
public ConstructionMenu(IDisplayManager displayMan) : base(displayMan)
|
||||
{
|
||||
Size = new Vector2(500.0f, 350.0f);
|
||||
}
|
||||
|
||||
protected override void Initialize()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user