From 9c3b9263b3924040592503a9d99a5c6fc64eb7fa Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 12 Jul 2020 09:41:53 -0400 Subject: [PATCH] Fix --- commands/edit-meme/that-sign-wont-stop-me.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-meme/that-sign-wont-stop-me.js b/commands/edit-meme/that-sign-wont-stop-me.js index e9116543..d4722f58 100644 --- a/commands/edit-meme/that-sign-wont-stop-me.js +++ b/commands/edit-meme/that-sign-wont-stop-me.js @@ -61,7 +61,7 @@ module.exports = class ThatSignWontStopMeCommand extends Command { ctx.font = `${fontSize}px Tragic Marker`; } const lines = await wrapText(ctx, text, 334); - const topMost = 230 - (((fontSize * lines.length) / 2) + ((10 * (lines.length - 1)) / 2)); + const topMost = 240 - (((fontSize * lines.length) / 2) + ((10 * (lines.length - 1)) / 2)); for (let i = 0; i < lines.length; i++) { const height = topMost + ((fontSize + 10) * i); ctx.fillText(lines[i], 210, height); @@ -73,7 +73,7 @@ module.exports = class ThatSignWontStopMeCommand extends Command { ctx.font = `${fontSize}px Tragic Marker`; } const bLines = await wrapText(ctx, text, 88); - const bTopMost = 640 - (((fontSize * bLines.length) / 2) + ((2 * (bLines.length - 1)) / 2)); + const bTopMost = 645 - (((fontSize * bLines.length) / 2) + ((2 * (bLines.length - 1)) / 2)); for (let i = 0; i < bLines.length; i++) { const height = bTopMost + ((fontSize + 2) * i); ctx.fillText(bLines[i], 280, height);