1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 00:20:50 +08:00

Merge pull request #20502 from peppy/forward-toasts-on-gameplay

Flush toast tray on entering gameplay
This commit is contained in:
Dan Balasescu
2022-09-27 18:35:54 +09:00
committed by GitHub
Unverified
+4 -1
View File
@@ -113,9 +113,12 @@ namespace osu.Game.Overlays
if (enabled)
// 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 : 100);
notificationsEnabler = Scheduler.AddDelayed(() => processingPosts = true, State.Value == Visibility.Visible ? 0 : 250);
else
{
processingPosts = false;
toastTray.FlushAllToasts();
}
}
protected override void LoadComplete()