Layer popup messages above UI windows (#330)
* Layer popup messages above UI windows * Added PopupRoot
This commit is contained in:
committed by
Pieter-Jan Briers
parent
63bb4c4d0a
commit
b9f6ea68ce
@@ -61,7 +61,7 @@ namespace Content.Client
|
||||
var label = new PopupLabel {Text = message};
|
||||
var minimumSize = label.CombinedMinimumSize;
|
||||
label.InitialPos = label.Position = coordinates.Position - minimumSize / 2;
|
||||
_userInterfaceManager.StateRoot.AddChild(label);
|
||||
_userInterfaceManager.PopupRoot.AddChild(label);
|
||||
_aliveLabels.Add(label);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user