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

Flush toast tray on entering a no-notification section

This commit is contained in:
Dean Herbert 2022-09-27 17:32:53 +09:00
parent c61f5403ab
commit 461ba64bfa

View File

@ -115,7 +115,10 @@ namespace osu.Game.Overlays
// we want a slight delay before toggling notifications on to avoid the user becoming overwhelmed.
notificationsEnabler = Scheduler.AddDelayed(() => processingPosts = true, State.Value == Visibility.Visible ? 0 : 250);
else
{
processingPosts = false;
toastTray.FlushAllToasts();
}
}
protected override void LoadComplete()