Make use of new timing system in Drawables and Transforms.

This commit is contained in:
Thomas Müller
2016-11-06 08:25:21 +01:00
parent a859a90b56
commit a6c0fd29f2
12 changed files with 22 additions and 41 deletions

View File

@ -225,8 +225,8 @@ namespace osu.Game.Graphics.UserInterface
? GetProportionalDuration(currentValue, newValue)
: RollingDuration;
transform.StartTime = Time;
transform.EndTime = Time + rollingTotalDuration;
transform.StartTime = Time.Current;
transform.EndTime = Time.Current + rollingTotalDuration;
transform.StartValue = currentValue;
transform.EndValue = newValue;
transform.Easing = RollingEasing;