diff --git a/assets/images/tweet/bg-2.png b/assets/images/tweet/bg-2.png index 038d893c..82e82cbe 100644 Binary files a/assets/images/tweet/bg-2.png and b/assets/images/tweet/bg-2.png differ diff --git a/commands/edit-image/tweet.js b/commands/edit-image/tweet.js index 8f98c6dd..6c6e7f2f 100644 --- a/commands/edit-image/tweet.js +++ b/commands/edit-image/tweet.js @@ -104,24 +104,24 @@ module.exports = class TweetCommand extends Command { ctx.fillText('Twitter for Xiao', 31 + timeLen + 6, base2StartY + 16); ctx.fillStyle = '#8899a6'; ctx.font = '16px Noto'; - ctx.fillText(this.formatNumber(replies), 87, base2StartY + 203); - ctx.fillText(this.formatNumber(likes), 509, base2StartY + 203); - ctx.fillText(this.formatNumber(retweets), 300, base2StartY + 203); + ctx.fillText(this.formatNumber(replies), 87, base2StartY + 139); + ctx.fillText(this.formatNumber(likes), 509, base2StartY + 139); + ctx.fillText(this.formatNumber(retweets), 300, base2StartY + 139); ctx.fillStyle = 'white'; ctx.font = 'normal bold 18px Noto'; - ctx.fillText(this.formatNumber(retweets), 31, base2StartY + 141); + ctx.fillText(this.formatNumber(retweets), 31, base2StartY + 77); const retweetsLen = ctx.measureText(this.formatNumber(retweets)).width; ctx.fillStyle = '#8899a6'; ctx.font = '18px Noto'; - ctx.fillText('Retweets', 31 + retweetsLen + 5, base2StartY + 141); + ctx.fillText('Retweets', 31 + retweetsLen + 5, base2StartY + 77); const retweetsWordLen = ctx.measureText('Retweets').width; ctx.fillStyle = 'white'; ctx.font = 'normal bold 18px Noto'; - ctx.fillText(this.formatNumber(likes), 31 + retweetsLen + 5 + retweetsWordLen + 10, base2StartY + 141); + ctx.fillText(this.formatNumber(likes), 31 + retweetsLen + 5 + retweetsWordLen + 10, base2StartY + 77); const likesLen = ctx.measureText(this.formatNumber(likes)).width; ctx.fillStyle = '#8899a6'; ctx.font = '18px Noto'; - ctx.fillText('Likes', 31 + retweetsLen + 5 + retweetsWordLen + 10 + likesLen + 5, base2StartY + 141); + ctx.fillText('Likes', 31 + retweetsLen + 5 + retweetsWordLen + 10 + likesLen + 5, base2StartY + 77); ctx.beginPath(); ctx.arc(30 + 32, 84 + 32, 32, 0, Math.PI * 2); ctx.closePath(); diff --git a/package.json b/package.json index f5253498..455a3d9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "114.30.2", + "version": "114.30.3", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {