Fix speech bubble UI blocking world interaction.
This commit is contained in:
@@ -81,7 +81,10 @@ namespace Content.Client.Chat
|
|||||||
{
|
{
|
||||||
_netManager.RegisterNetMessage<MsgChatMessage>(MsgChatMessage.NAME, _onChatMessage);
|
_netManager.RegisterNetMessage<MsgChatMessage>(MsgChatMessage.NAME, _onChatMessage);
|
||||||
|
|
||||||
_speechBubbleRoot = new Control();
|
_speechBubbleRoot = new Control
|
||||||
|
{
|
||||||
|
MouseFilter = Control.MouseFilterMode.Ignore
|
||||||
|
};
|
||||||
_speechBubbleRoot.SetAnchorPreset(Control.LayoutPreset.Wide);
|
_speechBubbleRoot.SetAnchorPreset(Control.LayoutPreset.Wide);
|
||||||
_userInterfaceManager.StateRoot.AddChild(_speechBubbleRoot);
|
_userInterfaceManager.StateRoot.AddChild(_speechBubbleRoot);
|
||||||
_speechBubbleRoot.SetPositionFirst();
|
_speechBubbleRoot.SetPositionFirst();
|
||||||
|
|||||||
Reference in New Issue
Block a user