From ec1169d37836c1a5284f96367dfce1f61641db2b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 21 Apr 2024 14:39:55 -0400 Subject: [PATCH] Fix --- commands/edit-image-text/tweet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image-text/tweet.js b/commands/edit-image-text/tweet.js index 1e81b025..8bc07b54 100644 --- a/commands/edit-image-text/tweet.js +++ b/commands/edit-image-text/tweet.js @@ -87,8 +87,8 @@ module.exports = class TweetCommand extends Command { const imageCtx = imageCanvas.getContext('2d'); canvas.height += imageHeight + 15; ctx.fillRect(0, base1.height, canvas.width, linesLen + imageHeight + 15); - const x = 17; - const y = base1.height + linesLen; + const x = 0; + const y = 0; const imageWidth = 740; const radius = 10; imageCtx.beginPath();