1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Start path at (0,0)

This commit is contained in:
smoogipoo 2020-03-11 12:56:12 +09:00
parent 5329b222f6
commit 9683c0756d

View File

@ -91,10 +91,11 @@ namespace osu.Game.Rulesets.Catch.Tests
public TestJuiceStream(float x)
{
X = x;
Path = new SliderPath(new[]
{
new PathControlPoint(new Vector2(x, 0)),
new PathControlPoint(new Vector2(x + 30, 0)),
new PathControlPoint(Vector2.Zero),
new PathControlPoint(new Vector2(30, 0)),
});
}
}