mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 13:22:55 +08:00
Fix doubled control point at beginning of drawn slider
This commit is contained in:
parent
c24b3543ab
commit
e6b4dfba36
@ -195,7 +195,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
||||
{
|
||||
var cps = self.bSplineBuilder.GetControlPoints();
|
||||
self.HitObject.Path.ControlPoints.RemoveRange(1, self.HitObject.Path.ControlPoints.Count - 1);
|
||||
self.HitObject.Path.ControlPoints.AddRange(cps.Select(v => new PathControlPoint(v)));
|
||||
self.HitObject.Path.ControlPoints.AddRange(cps.Skip(1).Select(v => new PathControlPoint(v)));
|
||||
}, this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user