Update existing implementations

This commit is contained in:
Dean Herbert
2020-11-04 16:19:07 +09:00
parent 68b7efe4d5
commit a3dc1d5730
18 changed files with 58 additions and 90 deletions

View File

@ -142,12 +142,11 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
}
}
protected override void UpdateStateTransforms(ArmedState state)
protected override void UpdateHitStateTransforms(ArmedState state)
{
base.UpdateStateTransforms(state);
base.UpdateHitStateTransforms(state);
using (BeginDelayedSequence(Spinner.Duration, true))
this.FadeOut(160);
this.FadeOut(160);
// skin change does a rewind of transforms, which will stop the spinning sound from playing if it's currently in playback.
isSpinning?.TriggerChange();