1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 22:22:55 +08:00

Fix weird test step

This commit is contained in:
Bartłomiej Dach 2022-04-04 20:05:54 +02:00
parent 9b367d645d
commit 29b7460cc7
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -48,7 +48,7 @@ namespace osu.Game.Tests.Visual.UserInterface
public void TestStateChange()
{
createScreen();
AddToggleStep("toggle state", visible => modSelectScreen.State.Value = visible ? Visibility.Visible : Visibility.Hidden);
AddStep("toggle state", () => modSelectScreen.ToggleVisibility());
}
[Test]