Skip to content

Commit

Permalink
removed 2nd argument of parseFloat (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: James Harris <[email protected]>
  • Loading branch information
Boorj and wopian authored Sep 8, 2022
1 parent ee9379a commit f6a641e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paint.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class SmoothCornersPainter {
const smooth = this.superellipse(
width,
height,
parseFloat(nX, 10),
parseFloat(nY, 10)
parseFloat(nX),
parseFloat(nY)
);

ctx.fillStyle = "#000";
Expand Down

0 comments on commit f6a641e

Please sign in to comment.