Scale follow points by circle size (#5458)

Scale follow points by circle size
This commit is contained in:
Dean Herbert 2019-07-29 18:47:48 +09:00 committed by GitHub
commit f2e90fdb26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,13 +97,13 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
Position = pointStartPosition, Position = pointStartPosition,
Rotation = rotation, Rotation = rotation,
Alpha = 0, Alpha = 0,
Scale = new Vector2(1.5f), Scale = new Vector2(1.5f * currHitObject.Scale),
}); });
using (fp.BeginAbsoluteSequence(fadeInTime)) using (fp.BeginAbsoluteSequence(fadeInTime))
{ {
fp.FadeIn(currHitObject.TimeFadeIn); fp.FadeIn(currHitObject.TimeFadeIn);
fp.ScaleTo(1, currHitObject.TimeFadeIn, Easing.Out); fp.ScaleTo(currHitObject.Scale, currHitObject.TimeFadeIn, Easing.Out);
fp.MoveTo(pointEndPosition, currHitObject.TimeFadeIn, Easing.Out); fp.MoveTo(pointEndPosition, currHitObject.TimeFadeIn, Easing.Out);