mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Avoid running message highlight processing more than once
This commit is contained in:
parent
cc87563d57
commit
5b70139b33
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user