Skip to content

Commit

Permalink
Change sqrt() to Math.sqrt() in easeOutCirc (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
internot169 authored Apr 29, 2023
1 parent bce35a7 commit 603d838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/easings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
- name: easeOutCirc
css: cubic-bezier(0, 0.55, 0.45, 1)
maths: |-2
return sqrt(1 - Math.pow(x - 1, 2));
return Math.sqrt(1 - Math.pow(x - 1, 2));
- name: easeInOutCirc
css: cubic-bezier(0.85, 0, 0.15, 1)
maths: |-2
Expand Down

0 comments on commit 603d838

Please sign in to comment.