mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Merge pull request #18094 from apollo-dw/sliderticks
Reimplement slider ticks in Strict Tracking mod sliders
This commit is contained in:
commit
2d33859e7a
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user