1
0
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:
Salman Ahmed 2022-09-23 16:29:19 +03:00
parent 2a5556de33
commit 4bd92b89bc

View File

@ -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)
{