From ea03e9243eff77c9b8441973a39716b943e2c620 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 5 Aug 2019 16:18:37 -0400 Subject: [PATCH] Fix --- commands/image-edit/plankton-plan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/image-edit/plankton-plan.js b/commands/image-edit/plankton-plan.js index 7068234a..ddbfe81c 100644 --- a/commands/image-edit/plankton-plan.js +++ b/commands/image-edit/plankton-plan.js @@ -69,7 +69,7 @@ module.exports = class PlanktonPlanCommand extends Command { ctx.font = '35px Noto'; const step = steps[i]; let fontSize = 35; - while (ctx.measureText(step).width > 720) { + while (ctx.measureText(step).width > 620) { fontSize -= 1; ctx.font = `${fontSize}px Noto`; }