1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 03:22:55 +08:00

Merge branch 'facade-container' of https://github.com/nyquillerium/osu into facade-container

This commit is contained in:
David Zhao 2019-04-08 15:24:59 +09:00
commit 376bed3a30

View File

@ -113,7 +113,7 @@ namespace osu.Game.Graphics.Containers
var amount = (float)Interpolation.ApplyEasing(easing, Math.Min(elapsedDuration / duration, 1));
// Interpolate the position of the logo, where amount 0 is where the logo was when it first began interpolating, and amount 1 is the target location.
Logo.Position = Vector2.Lerp((Vector2)startPosition, localPos, amount);
Logo.Position = Vector2.Lerp(startPosition.Value, localPos, amount);
}
else
{