mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 21:02:59 +08:00
Move sliderbars to the end of the testcase buttons
This commit is contained in:
parent
ccaf63a437
commit
4c032df677
@ -22,23 +22,23 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
private readonly Container content;
|
private readonly Container content;
|
||||||
protected override Container<Drawable> Content => content;
|
protected override Container<Drawable> Content => content;
|
||||||
|
|
||||||
private double speedMultiplier;
|
private double speedMultiplier = 2;
|
||||||
private double sliderMultiplier;
|
private double sliderMultiplier = 2;
|
||||||
private int depthIndex;
|
private int depthIndex;
|
||||||
|
|
||||||
public TestCaseSlider()
|
public TestCaseSlider()
|
||||||
{
|
{
|
||||||
base.Content.Add(content = new OsuInputManager(new RulesetInfo { ID = 0 }));
|
base.Content.Add(content = new OsuInputManager(new RulesetInfo { ID = 0 }));
|
||||||
|
|
||||||
AddSliderStep("SpeedMultiplier", 0.01, 10, 2, s => speedMultiplier = s);
|
|
||||||
AddSliderStep("SliderMultiplier", 0.01, 10, 2, s => sliderMultiplier = s);
|
|
||||||
|
|
||||||
AddStep("Single", () => addSingle());
|
AddStep("Single", () => addSingle());
|
||||||
AddStep("Repeated (1)", () => addRepeated(1));
|
AddStep("Repeated (1)", () => addRepeated(1));
|
||||||
AddStep("Repeated (2)", () => addRepeated(2));
|
AddStep("Repeated (2)", () => addRepeated(2));
|
||||||
AddStep("Repeated (3)", () => addRepeated(3));
|
AddStep("Repeated (3)", () => addRepeated(3));
|
||||||
AddStep("Repeated (4)", () => addRepeated(4));
|
AddStep("Repeated (4)", () => addRepeated(4));
|
||||||
AddStep("Stream", addStream);
|
AddStep("Stream", addStream);
|
||||||
|
|
||||||
|
AddSliderStep("SpeedMultiplier", 0.01, 10, 2, s => speedMultiplier = s);
|
||||||
|
AddSliderStep("SliderMultiplier", 0.01, 10, 2, s => sliderMultiplier = s);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addSingle(double timeOffset = 0, Vector2? positionOffset = null)
|
private void addSingle(double timeOffset = 0, Vector2? positionOffset = null)
|
||||||
|
Loading…
Reference in New Issue
Block a user