mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 11:52:54 +08:00
Fix incorrect alpha application to lines on rewinding
This commit is contained in:
parent
d529a2aefa
commit
ce35d09e7d
@ -199,10 +199,14 @@ namespace osu.Game.Rulesets.Mania.Edit
|
|||||||
: Anchor.BottomLeft;
|
: Anchor.BottomLeft;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void UpdateInitialTransforms()
|
||||||
|
{
|
||||||
|
// don't perform any fading – we are handling that ourselves.
|
||||||
|
}
|
||||||
|
|
||||||
protected override void UpdateStateTransforms(ArmedState state)
|
protected override void UpdateStateTransforms(ArmedState state)
|
||||||
{
|
{
|
||||||
using (BeginAbsoluteSequence(HitObject.StartTime + 1000))
|
LifetimeEnd = HitObject.StartTime + visible_range;
|
||||||
this.FadeOut();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -257,7 +257,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state.Value != ArmedState.Idle && LifetimeEnd == double.MaxValue || HitObject.HitWindows == null)
|
if (LifetimeEnd == double.MaxValue && (state.Value != ArmedState.Idle || HitObject.HitWindows == null))
|
||||||
Expire();
|
Expire();
|
||||||
|
|
||||||
// apply any custom state overrides
|
// apply any custom state overrides
|
||||||
|
Loading…
Reference in New Issue
Block a user