1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:47:28 +08:00

Revert OnSliderTail() to OnSliderEnd()

In light of the comment added in the previous commit, slider tail
and end are not actually the same.
This commit is contained in:
Alden Wu 2022-07-19 02:27:04 -07:00
parent e1f7db6e7d
commit 5cb0920cfb
3 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
.FadeTo(0, duration, Easing.OutQuint);
}
protected override void OnSliderTail()
protected override void OnSliderEnd()
{
const float duration = 300;

View File

@ -69,7 +69,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
switch (state)
{
case ArmedState.Hit:
OnSliderTail();
OnSliderEnd();
break;
}
}
@ -90,6 +90,6 @@ namespace osu.Game.Rulesets.Osu.Skinning
protected abstract void OnSliderRelease();
protected abstract void OnSliderTail();
protected abstract void OnSliderEnd();
}
}

View File

@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
.FadeTo(0).FadeTo(1f, Math.Min(60f, remainingTime));
}
protected override void OnSliderTail()
protected override void OnSliderEnd()
{
this.ScaleTo(1.6f, 200, Easing.Out)
.FadeOut(200, Easing.In);