Just barely implement Popup

This commit is contained in:
Pieter-Jan Briers
2019-03-12 10:01:00 +01:00
parent db45961936
commit ae0d34cd7e

View File

@@ -34,13 +34,15 @@ namespace SS14.Client.UserInterface.Controls
{
SceneControl.Call("popup", box?.Convert());
}
}
public void OpenCentered()
{
if (GameController.OnGodot)
else
{
SceneControl.Call("popup_centered");
if (box != null)
{
Position = box.Value.TopLeft;
Size = box.Value.Size;
}
Visible = true;
}
}