1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 18:27:19 +08:00

Refactor hitobjects to remove default control point

This commit is contained in:
smoogipoo 2019-12-09 17:48:27 +09:00
parent 9cb649436c
commit fa1468325e
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ namespace osu.Game.Rulesets.Catch.Objects
public double Duration => EndTime - StartTime;
private readonly SliderPath path = new SliderPath(new[] { new PathControlPoint { Type = { Value = PathType.Linear } } });
private readonly SliderPath path = new SliderPath();
public SliderPath Path
{

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Osu.Objects
public Vector2 StackedPositionAt(double t) => StackedPosition + this.CurvePositionAt(t);
private readonly SliderPath path = new SliderPath(new[] { new PathControlPoint { Type = { Value = PathType.Linear } } });
private readonly SliderPath path = new SliderPath();
public SliderPath Path
{