Fix OpenCentered by setting size before position (#1604)

This commit is contained in:
ShadowCommander
2020-08-06 18:06:24 -07:00
committed by GitHub
parent 01b10cb687
commit cf45beb7dc
5 changed files with 5 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ namespace Content.Client.GameObjects.Components.Disposal
_window = new DisposalUnitWindow();
_window.OpenCenteredMinSize();
_window.OpenCentered();
_window.OnClose += Close;
_window.Eject.OnPressed += _ => ButtonPressed(UiButton.Eject);