mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Add test step for covering slider appearance with hidden active
This commit is contained in:
parent
d9fc532a9f
commit
f116854c9f
@ -27,6 +27,7 @@ using osu.Game.Rulesets.Objects;
|
||||
using osu.Game.Rulesets.Objects.Drawables;
|
||||
using osu.Game.Rulesets.Objects.Types;
|
||||
using osu.Game.Rulesets.Osu.Configuration;
|
||||
using osu.Game.Rulesets.Osu.Mods;
|
||||
|
||||
namespace osu.Game.Rulesets.Osu.Tests
|
||||
{
|
||||
@ -50,6 +51,8 @@ namespace osu.Game.Rulesets.Osu.Tests
|
||||
snakingOut.Value = !v;
|
||||
});
|
||||
|
||||
AddToggleStep("toggle hidden", hiddenActive => SelectedMods.Value = hiddenActive ? new[] { new OsuModHidden() } : Array.Empty<Mod>());
|
||||
|
||||
AddSliderStep("hit at", 0f, 1f, 0f, v =>
|
||||
{
|
||||
progressToHit = v;
|
||||
|
Loading…
Reference in New Issue
Block a user