Use PopupContainer for verbs & examine popups.

Fixes #501
This commit is contained in:
Pieter-Jan Briers
2020-01-25 17:28:39 +01:00
parent 821058740f
commit daf3c28929
2 changed files with 4 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ namespace Content.Client.GameObjects.EntitySystems
_currentEntity = entity.Uid;
_currentPopup = new VerbPopup();
_currentPopup.UserInterfaceManager.StateRoot.AddChild(_currentPopup);
_currentPopup.UserInterfaceManager.ModalRoot.AddChild(_currentPopup);
_currentPopup.OnPopupHide += _closeContextMenu;
_currentPopup.List.AddChild(new Label {Text = "Waiting on Server..."});