small fix

This commit is contained in:
Mk-56spn 2022-09-09 08:21:33 +02:00
parent 38ccd06d5e
commit 5852a09003

View File

@ -165,7 +165,7 @@ namespace osu.Game.Tests.Visual.Gameplay
AddUntilStep("ensure max circles not exceeded", () =>
{
return this.ChildrenOfType<ColourHitErrorMeter>()
.All(m => m.ChildrenOfType<ColourHitErrorMeter.HitErrorShape>().Count() <= 10);
.All(m => m.ChildrenOfType<ColourHitErrorMeter.HitErrorShape>().Count() <= max_displayed_judgements);
});
AddStep("show displays", () =>