Make DrawableSlider contain the slider body

This commit is contained in:
smoogipoo
2018-02-23 20:27:05 +09:00
parent ce7d212c3c
commit 08bb25347c
7 changed files with 232 additions and 18 deletions

View File

@ -79,7 +79,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
List<Vector2> curve = drawableSlider.Body.CurrentCurve;
var positionOnCurve = isRepeatAtEnd ? end : start;
Position = positionOnCurve + drawableSlider.HitObject.StackOffset;
Position = positionOnCurve - curve[0] + drawableSlider.HitObject.StackOffset;
if (curve.Count < 2)
return;