Skip to content

Commit

Permalink
BackEaseIn: Rename option to match the base class declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
thopiekar committed May 10, 2024
1 parent 14942b7 commit 5a58699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Avalonia.Base/Animation/Easings/BackEaseIn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ namespace Avalonia.Animation.Easings
public class BackEaseIn : Easing
{
/// <inheritdoc/>
public override double Ease(double p)
public override double Ease(double progress)
{
return p * (p * p - Math.Sin(p * Math.PI));
return progress * (progress * progress - Math.Sin(progress * Math.PI));
}
}
}

0 comments on commit 5a58699

Please sign in to comment.