1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 20:56:12 +08:00

Remove unused variable

This commit is contained in:
smoogipoo 2019-05-08 23:52:44 +09:00
parent 9b279f324f
commit 9c01f6793e

View File

@ -132,8 +132,6 @@ namespace osu.Game.Tests.Visual.UserInterface
var loadedBackgrounds = backgrounds.Where(b => b.ContentLoaded); var loadedBackgrounds = backgrounds.Where(b => b.ContentLoaded);
int initialLoadCount = 0;
AddUntilStep("some loaded", () => (initialLoadCount = loadedBackgrounds.Count()) > 0); AddUntilStep("some loaded", () => (initialLoadCount = loadedBackgrounds.Count()) > 0);
AddStep("scroll to bottom", () => scrollContainer.ScrollToEnd()); AddStep("scroll to bottom", () => scrollContainer.ScrollToEnd());
AddUntilStep("all unloaded", () => !loadedBackgrounds.Any()); AddUntilStep("all unloaded", () => !loadedBackgrounds.Any());