mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 11:23:00 +08:00
Decrease speed of progress notifications
This commit is contained in:
parent
7d0c94fd01
commit
3428cf6501
@ -69,7 +69,7 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
AddAssert("Displayed count is 33", () => manager.UnreadCount.Value == 33);
|
||||
|
||||
AddWaitStep(5);
|
||||
AddWaitStep(10);
|
||||
|
||||
checkProgressingCount(0);
|
||||
|
||||
@ -117,7 +117,7 @@ namespace osu.Game.Tests.Visual
|
||||
foreach (var n in progressingNotifications.FindAll(n => n.State == ProgressNotificationState.Active))
|
||||
{
|
||||
if (n.Progress < 1)
|
||||
n.Progress += (float)(Time.Elapsed / 200) * RNG.NextSingle();
|
||||
n.Progress += (float)(Time.Elapsed / 400) * RNG.NextSingle();
|
||||
else
|
||||
n.State = ProgressNotificationState.Completed;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user