diff --git a/commands/edit-image-text/tweet.js b/commands/edit-image-text/tweet.js index fcd809e4..06eab418 100644 --- a/commands/edit-image-text/tweet.js +++ b/commands/edit-image-text/tweet.js @@ -103,7 +103,7 @@ module.exports = class TweetCommand extends Command { imageCtx.quadraticCurveTo(x, y, x + radius, y); imageCtx.closePath(); imageCtx.clip(); - imageCtx.drawImage(imageData, 0, 0); + imageCtx.drawImage(imageData, 0, 0, imageWidth, imageHeight); ctx.drawImage(imageCanvas, 17, base1.height + linesLen, imageWidth, imageHeight); } const likes = randomRange(Math.ceil(userData.followers * 0.0015), Math.ceil(userData.followers * 0.002));