Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maamokun committed Aug 13, 2024
1 parent 2e65dc5 commit 3dadedd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gen/level.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ export async function createLevel({
1.5 * Math.PI,
);
ctx.closePath();
ctx.fillStyle = "#FFB900";
ctx.fillStyle = `#${color}`;
ctx.fill();

ctx.font = "25px SDK_JP_Web";
ctx.fillStyle = `#${color}`;
ctx.fillStyle = "FFFFFF";
ctx.fillText(`${totalXPNum - currentXPNum} to next level`, 1230, 305);

return await canvas.encode("png");
Expand Down

0 comments on commit 3dadedd

Please sign in to comment.