From b9f6ea68ce39a347780974fbdce5ff940fe57cf7 Mon Sep 17 00:00:00 2001 From: DamianX Date: Sun, 8 Sep 2019 16:13:09 +0200 Subject: [PATCH] Layer popup messages above UI windows (#330) * Layer popup messages above UI windows * Added PopupRoot --- Content.Client/ClientNotifyManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/ClientNotifyManager.cs b/Content.Client/ClientNotifyManager.cs index 70ffd7e1c9..cbd3d0de01 100644 --- a/Content.Client/ClientNotifyManager.cs +++ b/Content.Client/ClientNotifyManager.cs @@ -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); }