1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 13:10:23 +08:00

Port multiselection from previous design

This commit is contained in:
Bartłomiej Dach
2022-02-19 18:45:04 +01:00
Unverified
parent f40bd39487
commit 53e8072632
2 changed files with 95 additions and 3 deletions
@@ -32,7 +32,7 @@ namespace osu.Game.Tests.Visual.UserInterface
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding(30),
Child = new ModColumn(modType)
Child = new ModColumn(modType, false)
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre
@@ -44,5 +44,20 @@ namespace osu.Game.Tests.Visual.UserInterface
AddStep("change ruleset to catch", () => Ruleset.Value = new CatchRuleset().RulesetInfo);
AddStep("change ruleset to mania", () => Ruleset.Value = new ManiaRuleset().RulesetInfo);
}
[Test]
public void TestMultiSelection()
{
AddStep("create content", () => Child = new Container
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding(30),
Child = new ModColumn(ModType.DifficultyIncrease, true)
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre
}
});
}
}
}