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:
parent
9cb649436c
commit
fa1468325e
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user