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

Fix follow point lifetime not being updated correctly

This commit is contained in:
smoogipoo 2019-11-01 22:08:50 +09:00
parent 3b6064336b
commit 1ef2b81041

View File

@ -118,13 +118,15 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
using (fp.BeginAbsoluteSequence(fadeInTime))
{
fp.FadeIn(osuEnd.TimeFadeIn);
fp.ScaleTo(osuEnd.Scale, osuEnd.TimeFadeIn, Easing.Out);
fp.MoveTo(pointEndPosition, osuEnd.TimeFadeIn, Easing.Out);
fp.Delay(fadeOutTime - fadeInTime).FadeOut(osuEnd.TimeFadeIn);
}
// See: Expire calls are separated due to https://github.com/ppy/osu-framework/issues/2941
fp.Expire(true);
fp.FadeIn(osuEnd.TimeFadeIn).Expire(true);
fp.ScaleTo(osuEnd.Scale, osuEnd.TimeFadeIn, Easing.Out)
.MoveTo(pointEndPosition, osuEnd.TimeFadeIn, Easing.Out)
.Delay(fadeOutTime - fadeInTime).FadeOut(osuEnd.TimeFadeIn)
.Expire();
}
}
}
}