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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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)