1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 16:07:24 +08:00

Fix progress notifications queueing up infinite text changes when not visible

This commit is contained in:
Dean Herbert 2023-12-18 19:00:44 +09:00
parent 5ab3815123
commit e3251b40b3
No known key found for this signature in database

View File

@ -54,7 +54,7 @@ namespace osu.Game.Overlays.Notifications
set
{
text = value;
Schedule(() => textDrawable.Text = text);
Scheduler.AddOnce(t => textDrawable.Text = t, text);
}
}