From 2369556acd49ff106bf9301128bb6a3701c2f8ad Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 5 Aug 2019 16:20:58 -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 40e0650d..51e54538 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 > 620) { + while (ctx.measureText(step).width > 520) { fontSize -= 1; ctx.font = `${fontSize}px Noto`; }