Engine UI FrameUpdate compat, Speech bubble first frame fix (#8472)

* Compat fix for engine UI FrameUpdate order change.

Engine is getting FrameUpdate changed to run BEFORE style & layout. This is needed to avoid exploding.

* Fix speech bubble layout on first frame.
This commit is contained in:
Pieter-Jan Briers
2022-05-27 05:34:25 +02:00
committed by GitHub
parent d19f83fced
commit c5982e0b10
3 changed files with 8 additions and 12 deletions

View File

@@ -525,7 +525,7 @@ namespace Content.Client.Chat.Managers
// Push up existing bubbles above the mob's head.
foreach (var existingBubble in existing)
{
existingBubble.VerticalOffset += bubble.ContentHeight;
existingBubble.VerticalOffset += bubble.ContentSize.Y;
}
}
else