mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Avoid running message highlight processing more than once
This commit is contained in:
@ -96,7 +96,7 @@ namespace osu.Game.Overlays.Chat
|
||||
/// <remarks>
|
||||
/// <see cref="CompositeDrawable.ScheduleAfterChildren"/> is for ensuring the scroll flow has updated with any new chat lines.
|
||||
/// </remarks>
|
||||
private void processMessageHighlighting() => ScheduleAfterChildren(() =>
|
||||
private void processMessageHighlighting() => SchedulerAfterChildren.AddOnce(() =>
|
||||
{
|
||||
if (highlightedMessage.Value == null)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user