mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Change test scene to ensure progress notification is closed on completion
This commit is contained in:
parent
2a5556de33
commit
4bd92b89bc
@ -465,7 +465,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
{
|
||||
base.Update();
|
||||
|
||||
progressingNotifications.RemoveAll(n => n.State == ProgressNotificationState.Completed);
|
||||
progressingNotifications.RemoveAll(n => n.State == ProgressNotificationState.Completed && n.WasClosed);
|
||||
|
||||
if (progressingNotifications.Count(n => n.State == ProgressNotificationState.Active) < 3)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user