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
1 changed files with 12 additions and 0 deletions

View File

@ -107,6 +107,18 @@ protected override void CreateNestedHitObjects(CancellationToken cancellationTok
{
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:
AddNested(HeadCircle = new SliderHeadCircle
{