mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 21:00:33 +08:00
Schedule chat line highlight after children to handle non-loaded lines
This commit is contained in:
parent
2d8983383a
commit
93cf93943f
@ -93,7 +93,8 @@ namespace osu.Game.Overlays.Chat
|
||||
return;
|
||||
|
||||
// schedule highlight to ensure it performs after any pending "newMessagesArrived" calls.
|
||||
Schedule(() =>
|
||||
// also schedule after children to ensure the scroll flow is updated with any new chat lines.
|
||||
ScheduleAfterChildren(() =>
|
||||
{
|
||||
var chatLine = chatLines.SingleOrDefault(c => c.Message.Equals(m.NewValue));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user