mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 20:12:57 +08:00
Clarify repeat index
This commit is contained in:
parent
489153579a
commit
63fea65c0c
@ -215,7 +215,7 @@ namespace osu.Game.Rulesets.Osu.Objects
|
|||||||
Position = Position + Path.PositionAt(e.PathProgress),
|
Position = Position + Path.PositionAt(e.PathProgress),
|
||||||
StackHeight = StackHeight,
|
StackHeight = StackHeight,
|
||||||
Scale = Scale,
|
Scale = Scale,
|
||||||
Samples = getNodeSamples(1 + e.SpanIndex)
|
Samples = getNodeSamples(e.SpanIndex + 1)
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -122,7 +122,7 @@ namespace osu.Game.Rulesets.Objects
|
|||||||
public double Time;
|
public double Time;
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public int SpanIndex;
|
public int SpanIndex;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user