mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Flush toast tray on entering a no-notification section
This commit is contained in:
parent
c61f5403ab
commit
461ba64bfa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user