1
0
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:
Dan Balasescu 2022-10-05 19:17:57 +09:00 committed by GitHub
commit b6db36dcca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;