1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 09:03:00 +08:00

Clarify repeat index

This commit is contained in:
Dean Herbert 2019-03-11 14:53:21 +09:00
parent 489153579a
commit 63fea65c0c
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ namespace osu.Game.Rulesets.Osu.Objects
Position = Position + Path.PositionAt(e.PathProgress),
StackHeight = StackHeight,
Scale = Scale,
Samples = getNodeSamples(1 + e.SpanIndex)
Samples = getNodeSamples(e.SpanIndex + 1)
});
break;
}

View File

@ -122,7 +122,7 @@ namespace osu.Game.Rulesets.Objects
public double Time;
/// <summary>
/// The zero-based index of the span. In the case of repeat sliders, this will increase each repeat.
/// The zero-based index of the span. In the case of repeat sliders, this will increase after each <see cref="SliderEventType.Repeat"/>.
/// </summary>
public int SpanIndex;