From dc632dd9af0f2432bde5b96497ddb00dc37bc45e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 29 Jun 2020 10:20:52 -0400 Subject: [PATCH] Fix --- commands/edit-meme/drakeposting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-meme/drakeposting.js b/commands/edit-meme/drakeposting.js index 5fab5215..11e848f9 100644 --- a/commands/edit-meme/drakeposting.js +++ b/commands/edit-meme/drakeposting.js @@ -72,7 +72,7 @@ module.exports = class DrakepostingCommand extends Command { } ctx.font = '50px Noto'; fontSize = 50; - while (ctx.measureText(yea).width > 3003) { + while (ctx.measureText(yeah).width > 3003) { fontSize--; ctx.font = `${fontSize}px Noto`; }