From 996821b60b8b60159d911b9ee6499db262bfc4fb Mon Sep 17 00:00:00 2001 From: Deadpikle Date: Thu, 30 Apr 2020 09:06:50 -0400 Subject: [PATCH] Removed TODO now that behavior is verified with WPF --- src/Avalonia.Animation/Animators/Animator`1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Animation/Animators/Animator`1.cs b/src/Avalonia.Animation/Animators/Animator`1.cs index 121ffda564..0660440e30 100644 --- a/src/Avalonia.Animation/Animators/Animator`1.cs +++ b/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);