Browse Source

Removed TODO now that behavior is verified with WPF

pull/3844/head
Deadpikle 6 years ago
parent
commit
996821b60b
  1. 2
      src/Avalonia.Animation/Animators/Animator`1.cs

2
src/Avalonia.Animation/Animators/Animator`1.cs

@ -89,7 +89,7 @@ namespace Avalonia.Animation.Animators
else
newValue = (T)lastKeyframe.Value;
if (lastKeyframe.KeySpline != null) // TODO: do we use firstKeyFrame or lastKeyframe?!
if (lastKeyframe.KeySpline != null)
progress = lastKeyframe.KeySpline.GetSplineProgress(progress);
return Interpolate(progress, oldValue, newValue);

Loading…
Cancel
Save