mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:03:13 +08:00
Merge pull request #10935 from bdach/fix-mania-judgement-fade-in
Rewind judgement transforms before clearing
This commit is contained in:
commit
060acb9010
@ -149,7 +149,10 @@ namespace osu.Game.Rulesets.Judgements
|
||||
|
||||
private void runAnimation()
|
||||
{
|
||||
// undo any transforms applies in ApplyMissAnimations/ApplyHitAnimations to get a sane initial state.
|
||||
ApplyTransformsAt(double.MinValue, true);
|
||||
ClearTransforms(true);
|
||||
|
||||
LifetimeStart = Result.TimeAbsolute;
|
||||
|
||||
using (BeginAbsoluteSequence(Result.TimeAbsolute, true))
|
||||
|
@ -439,6 +439,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
private void clearExistingStateTransforms()
|
||||
{
|
||||
base.ApplyTransformsAt(double.MinValue, true);
|
||||
|
||||
// has to call this method directly (not ClearTransforms) to bypass the local ClearTransformsAfter override.
|
||||
base.ClearTransformsAfter(double.MinValue, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user