From 8138bed4cf86fcecc5a103ae1338dcafef9a3746 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 21 Apr 2020 11:00:30 -0400 Subject: [PATCH] Fix --- commands/edit-image/jeopardy-question.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/jeopardy-question.js b/commands/edit-image/jeopardy-question.js index b1c1a22e..517882fa 100644 --- a/commands/edit-image/jeopardy-question.js +++ b/commands/edit-image/jeopardy-question.js @@ -51,7 +51,7 @@ module.exports = class JeopardyQuestionCommand extends Command { ctx.fillStyle = 'white'; ctx.font = '62px Korinna'; const lines = await wrapText(ctx, text.toUpperCase(), 813); - const topMost = (canvas.height / 2) - (((62 * lines.length) / 2) + ((27 * (lines.length - 1)) / 2)); + const topMost = (canvas.height / 2) - (((48 * lines.length) / 2) + ((27 * (lines.length - 1)) / 2)); ctx.fillStyle = 'black'; ctx.fillText(lines.join('\n'), (canvas.width / 2) + 6, topMost + 6); ctx.fillStyle = 'white';