1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 02:32:55 +08:00

Merge pull request #18094 from apollo-dw/sliderticks

Reimplement slider ticks in Strict Tracking mod sliders
This commit is contained in:
Dan Balasescu 2022-05-09 17:16:47 +09:00 committed by GitHub
commit 2d33859e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,18 @@ namespace osu.Game.Rulesets.Osu.Mods
{ {
switch (e.Type) switch (e.Type)
{ {
case SliderEventType.Tick:
AddNested(new SliderTick
{
SpanIndex = e.SpanIndex,
SpanStartTime = e.SpanStartTime,
StartTime = e.Time,
Position = Position + Path.PositionAt(e.PathProgress),
StackHeight = StackHeight,
Scale = Scale,
});
break;
case SliderEventType.Head: case SliderEventType.Head:
AddNested(HeadCircle = new SliderHeadCircle AddNested(HeadCircle = new SliderHeadCircle
{ {