From ef88012135dcb60607827c8123098494277850c0 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 29 Nov 2020 09:34:47 -0500 Subject: [PATCH] Fix --- commands/edit-meme/change-my-mind.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-meme/change-my-mind.js b/commands/edit-meme/change-my-mind.js index d64a8493..9763e890 100644 --- a/commands/edit-meme/change-my-mind.js +++ b/commands/edit-meme/change-my-mind.js @@ -53,7 +53,7 @@ module.exports = class ChangeMyMindCommand extends Command { ctx.rotate(-24 * (Math.PI / 180)); ctx.font = '35px Noto'; let fontSize = 35; - while (ctx.measureText(text).width > 506) { + while (ctx.measureText(text).width > 843) { fontSize--; ctx.font = `${fontSize}px Noto`; }