From f4f8f36f92c8313643712bd19609371fb72a7075 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 25 May 2020 00:09:06 -0400 Subject: [PATCH] Fix --- commands/edit-image/tweet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/tweet.js b/commands/edit-image/tweet.js index 1487e683..19cfb493 100644 --- a/commands/edit-image/tweet.js +++ b/commands/edit-image/tweet.js @@ -66,13 +66,13 @@ module.exports = class TweetCommand extends Command { ctx.textBaseline = 'top'; ctx.font = 'normal bold 18px Noto'; ctx.fillStyle = 'white'; - ctx.fillText(userData.name, 105, 88); + ctx.fillText(userData.name, 105, 92); if (userData.verified) { const verified = await loadImage( path.join(__dirname, '..', '..', 'assets', 'images', 'tweet', 'verified.png') ); const nameLen = ctx.measureText(userData.name).width; - ctx.drawImage(verified, 105 + nameLen + 4, 88, 21, 21); + ctx.drawImage(verified, 105 + nameLen + 4, 88, 18, 18); } ctx.font = '17px Noto'; ctx.fillStyle = '#8899a6';