1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 05:22:54 +08:00

Merge pull request #12154 from peppy/fix-hitcircle-glow-fade-out

Fix default skin's glow resetting fade on miss
This commit is contained in:
Dan Balasescu 2021-03-23 20:14:51 +09:00 committed by GitHub
commit ade542191a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,10 +74,11 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
private void updateState(DrawableHitObject drawableObject, ArmedState state) private void updateState(DrawableHitObject drawableObject, ArmedState state)
{ {
using (BeginAbsoluteSequence(drawableObject.HitStateUpdateTime, true)) using (BeginAbsoluteSequence(drawableObject.StateUpdateTime))
{
glow.FadeOut(400); glow.FadeOut(400);
using (BeginAbsoluteSequence(drawableObject.HitStateUpdateTime))
{
switch (state) switch (state)
{ {
case ArmedState.Hit: case ArmedState.Hit: