Skip to content

Commit

Permalink
Fixed the font face
Browse files Browse the repository at this point in the history
  • Loading branch information
Keshav-Aneja committed Aug 6, 2023
1 parent 6b91276 commit 0e574ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function writeText(e) {
lastX = x;
lastY = y;
ctx.fillStyle = activeColor;
ctx.font = `${shapeSize}px Poppins`;
ctx.font = `${shapeSize}px Arimo`;
ctx.textAlign = "center";
ctx.fillText(textInput, lastX, lastY);
}
Expand Down

0 comments on commit 0e574ee

Please sign in to comment.