Skip to content

Commit

Permalink
Merge pull request #27 from ssanderson/fix-curve-assertion
Browse files Browse the repository at this point in the history
BUG: Fix debug assertion on ShakeCurve animation.
  • Loading branch information
xPutnikx authored Oct 25, 2020
2 parents 74d2235 + e5f9a99 commit 281a3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shake_curve.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class ShakeCurve extends Curve {
@override
double transform(double t) {
//t from 0.0 to 1.0
return sin(t * 3 * pi).abs();
return sin(t * 2.5 * pi).abs();
}
}

0 comments on commit 281a3bf

Please sign in to comment.