Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
chore: release v1.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
LewdHuTao committed Jul 7, 2024
1 parent 1be551f commit d2b01ac
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 84 deletions.
162 changes: 81 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "songcard",
"version": "1.2.11",
"version": "1.2.12",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
4 changes: 2 additions & 2 deletions src/themes/classicCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ async function classicCard({
truncatedText += "...";

ctx.fillStyle = "#fff";
ctx.font = "40px 'ArialUnicodeMS'";
ctx.font = "bold 40px 'ArialUnicodeMS'";
ctx.fillText(truncatedText, textX, textY);
} else {
ctx.fillStyle = "#fff";
ctx.font = "40px 'ArialUnicodeMS'";
ctx.font = "bold 40px 'ArialUnicodeMS'";
ctx.fillText(text, textX, textY);
}
return canvas.toBuffer("image/png");
Expand Down

0 comments on commit d2b01ac

Please sign in to comment.