1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 11:03:05 +08:00

Fix typo in test

This commit is contained in:
Andrei Zavatski 2020-04-13 09:45:49 +03:00
parent 39b5c9f396
commit 0eaff00787

View File

@ -63,7 +63,7 @@ namespace osu.Game.Tests.Visual.UserInterface
AddStep("scroll to start", () => scroll.ScrollToStart(false));
AddAssert("button is hidden", () => scroll.Button.State == Visibility.Hidden);
AddStep("scroll to 250", () => scroll.ScrollTo(500));
AddStep("scroll to 500", () => scroll.ScrollTo(500));
AddUntilStep("scrolled back to start", () => Precision.AlmostEquals(scroll.Current, 500, 0.1f));
AddAssert("button is visible", () => scroll.Button.State == Visibility.Visible);
}