From 4425053c7ef1fdc0f54b107b79517a9bcf45a06b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 3 May 2024 11:07:11 -0400 Subject: [PATCH] Fix --- commands/edit-image-text/tweet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image-text/tweet.js b/commands/edit-image-text/tweet.js index 3132f5f9..9a745d1e 100644 --- a/commands/edit-image-text/tweet.js +++ b/commands/edit-image-text/tweet.js @@ -69,7 +69,7 @@ module.exports = class TweetCommand extends Command { ctx.font = this.client.fonts.get('ChirpRegular.ttf').toCanvasString(23); const lines = wrapText(ctx, text, 710, true); const metrics = measureTextHeightWithBreaks(ctx, lines.join('\n')); - const linesLen = metrics + 10; + const linesLen = metrics + 5; canvas.height += linesLen; let imageHeight = 0; ctx.fillStyle = 'black';