Add visibility toggle step to settings panel test scene

This commit is contained in:
Bartłomiej Dach 2023-12-26 20:21:15 +01:00
parent c107bfcd31
commit 9ac79782d2
No known key found for this signature in database

View File

@ -41,6 +41,7 @@ namespace osu.Game.Tests.Visual.Settings
public void TestBasic()
{
AddStep("do nothing", () => { });
AddToggleStep("toggle visibility", visible => settings.State.Value = visible ? Visibility.Visible : Visibility.Hidden);
}
[Test]