From 4ee46f0f7b26ec8f0ec8a211426ff0af42fa27b4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 21 Apr 2024 14:38:34 -0400 Subject: [PATCH] Fix --- commands/edit-image-text/tweet.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/edit-image-text/tweet.js b/commands/edit-image-text/tweet.js index 685e481e..1e81b025 100644 --- a/commands/edit-image-text/tweet.js +++ b/commands/edit-image-text/tweet.js @@ -103,6 +103,7 @@ module.exports = class TweetCommand extends Command { imageCtx.quadraticCurveTo(x, y, x + radius, y); imageCtx.closePath(); imageCtx.clip(); + imageCtx.drawImage(imageData, 0, 0); ctx.drawImage(imageCanvas, x, y, imageWidth, imageHeight); } const likes = randomRange(Math.ceil(userData.followers * 0.0015), Math.ceil(userData.followers * 0.002));