From 54ec2a30310c7c4a27c10c70e1d836e64701a77a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 28 Apr 2024 14:55:54 -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 24f678f2..618dd7d9 100644 --- a/commands/edit-image-text/tweet.js +++ b/commands/edit-image-text/tweet.js @@ -90,10 +90,10 @@ module.exports = class TweetCommand extends Command { const y = 0; const imageWidth = 740; const radius = 15; - this.createImageBorder(imageCtx, radius, x, y, imageWidth, imageHeight); + this.roundedPath(imageCtx, radius, x, y, imageWidth, imageHeight); imageCtx.clip(); imageCtx.drawImage(imageData, 0, 0, imageWidth, imageHeight); - this.createImageBorder(imageCtx, radius, x, y, imageWidth, imageHeight); + this.roundedPath(imageCtx, radius, x, y, imageWidth, imageHeight); imageCtx.strokeStyle = '#303336'; imageCtx.lineWidth = 10; imageCtx.stroke();