Fix chat popup rendering (#11987)

This commit is contained in:
Leon Friedrich
2022-10-17 17:33:29 +13:00
committed by GitHub
parent b20c7b3cfe
commit b4838129d7

View File

@@ -1,4 +1,4 @@
using System.Linq;
using System.Linq;
using Content.Client.Administration.Managers;
using Content.Client.Chat;
using Content.Client.Chat.Managers;
@@ -237,7 +237,7 @@ public sealed class ChatUIController : UIController
_speechBubbleRoot.Orphan();
LayoutContainer.SetAnchorPreset(_speechBubbleRoot, LayoutContainer.LayoutPreset.Wide);
UIManager.StateRoot.AddChild(_speechBubbleRoot);
_speechBubbleRoot.SetPositionFirst();
_speechBubbleRoot.SetPositionLast();
}
private void OnLocalPlayerChanged(LocalPlayerChangedEventArgs obj)