mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 07:32:55 +08:00
Fix regression from removing unused variable
This commit is contained in:
parent
9c01f6793e
commit
5dbf57046e
@ -132,7 +132,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
|
|
||||||
var loadedBackgrounds = backgrounds.Where(b => b.ContentLoaded);
|
var loadedBackgrounds = backgrounds.Where(b => b.ContentLoaded);
|
||||||
|
|
||||||
AddUntilStep("some loaded", () => (initialLoadCount = loadedBackgrounds.Count()) > 0);
|
AddUntilStep("some loaded", () => loadedBackgrounds.Any());
|
||||||
AddStep("scroll to bottom", () => scrollContainer.ScrollToEnd());
|
AddStep("scroll to bottom", () => scrollContainer.ScrollToEnd());
|
||||||
AddUntilStep("all unloaded", () => !loadedBackgrounds.Any());
|
AddUntilStep("all unloaded", () => !loadedBackgrounds.Any());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user