mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 03:23:03 +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:
parent
e1f7db6e7d
commit
5cb0920cfb
@ -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;
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user