mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Merge pull request #20580 from peppy/approach-circle-fade-out
Hide approach circles immediate on successful hit
This commit is contained in:
commit
b6db36dcca
@ -204,12 +204,12 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
// todo: temporary / arbitrary, used for lifetime optimisation.
|
// todo: temporary / arbitrary, used for lifetime optimisation.
|
||||||
this.Delay(800).FadeOut();
|
this.Delay(800).FadeOut();
|
||||||
|
|
||||||
// in the case of an early state change, the fade should be expedited to the current point in time.
|
|
||||||
if (HitStateUpdateTime < HitObject.StartTime)
|
|
||||||
ApproachCircle.FadeOut(50);
|
|
||||||
|
|
||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
|
default:
|
||||||
|
ApproachCircle.FadeOut();
|
||||||
|
break;
|
||||||
|
|
||||||
case ArmedState.Idle:
|
case ArmedState.Idle:
|
||||||
HitArea.HitAction = null;
|
HitArea.HitAction = null;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user