mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Schedule chat line highlight after children to handle non-loaded lines
This commit is contained in:
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user