mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 22:57:31 +09: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()
|
private void runAnimation()
|
||||||
{
|
{
|
||||||
|
// undo any transforms applies in ApplyMissAnimations/ApplyHitAnimations to get a sane initial state.
|
||||||
|
ApplyTransformsAt(double.MinValue, true);
|
||||||
ClearTransforms(true);
|
ClearTransforms(true);
|
||||||
|
|
||||||
LifetimeStart = Result.TimeAbsolute;
|
LifetimeStart = Result.TimeAbsolute;
|
||||||
|
|
||||||
using (BeginAbsoluteSequence(Result.TimeAbsolute, true))
|
using (BeginAbsoluteSequence(Result.TimeAbsolute, true))
|
||||||
|
@ -439,6 +439,8 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
|||||||
private void clearExistingStateTransforms()
|
private void clearExistingStateTransforms()
|
||||||
{
|
{
|
||||||
base.ApplyTransformsAt(double.MinValue, true);
|
base.ApplyTransformsAt(double.MinValue, true);
|
||||||
|
|
||||||
|
// has to call this method directly (not ClearTransforms) to bypass the local ClearTransformsAfter override.
|
||||||
base.ClearTransformsAfter(double.MinValue, true);
|
base.ClearTransformsAfter(double.MinValue, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user