From 832196eaa546bf521b842811f59d0132e3fe023d Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 16 Sep 2018 21:13:38 +0000 Subject: [PATCH] Fix --- commands/image-edit/gru-plan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/image-edit/gru-plan.js b/commands/image-edit/gru-plan.js index c7959212..a63d1b41 100644 --- a/commands/image-edit/gru-plan.js +++ b/commands/image-edit/gru-plan.js @@ -59,7 +59,7 @@ module.exports = class GruPlanCommand extends Command { for (const [x, y] of coord) { const step = steps[i]; let fontSize = 50; - while (ctx.measureText(step).width > 1500) { + while (ctx.measureText(step).width > 1237) { fontSize -= 1; ctx.font = `${fontSize}px Noto`; }