1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +08:00

Adjust test to share barline between stages

This commit is contained in:
Dan Balasescu 2023-08-15 13:34:02 +09:00
parent 6a7b0786c9
commit e9621e7d6e

View File

@ -116,8 +116,6 @@ namespace osu.Game.Rulesets.Mania.Tests
} }
private void createBarLine(bool major) private void createBarLine(bool major)
{
foreach (var stage in stages)
{ {
var obj = new BarLine var obj = new BarLine
{ {
@ -127,9 +125,9 @@ namespace osu.Game.Rulesets.Mania.Tests
obj.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty()); obj.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
foreach (var stage in stages)
stage.Add(obj); stage.Add(obj);
} }
}
private ScrollingTestContainer createStage(ScrollingDirection direction, ManiaAction action) private ScrollingTestContainer createStage(ScrollingDirection direction, ManiaAction action)
{ {