mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Adjust test to share barline between stages
This commit is contained in:
parent
6a7b0786c9
commit
e9621e7d6e
@ -116,8 +116,6 @@ namespace osu.Game.Rulesets.Mania.Tests
|
||||
}
|
||||
|
||||
private void createBarLine(bool major)
|
||||
{
|
||||
foreach (var stage in stages)
|
||||
{
|
||||
var obj = new BarLine
|
||||
{
|
||||
@ -127,9 +125,9 @@ namespace osu.Game.Rulesets.Mania.Tests
|
||||
|
||||
obj.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty());
|
||||
|
||||
foreach (var stage in stages)
|
||||
stage.Add(obj);
|
||||
}
|
||||
}
|
||||
|
||||
private ScrollingTestContainer createStage(ScrollingDirection direction, ManiaAction action)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user