From efb0f63541472a06e41d40691a6bbde20b205af5 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 31 May 2020 10:28:29 -0400 Subject: [PATCH] Fix --- commands/edit-meme/scroll-of-truth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-meme/scroll-of-truth.js b/commands/edit-meme/scroll-of-truth.js index 2df911ee..42a5bda6 100644 --- a/commands/edit-meme/scroll-of-truth.js +++ b/commands/edit-meme/scroll-of-truth.js @@ -53,7 +53,7 @@ module.exports = class ScrollOfTruthCommand extends Command { ctx.textBaseline = 'top'; ctx.font = '60px Noto'; let fontSize = 60; - while (ctx.measureText(text).width > 651) { + while (ctx.measureText(text).width > 542) { fontSize -= 1; ctx.font = `${fontSize}px Noto`; }