From 2a4b58f7aff0d89f28cb878dcda9a330a917664c Mon Sep 17 00:00:00 2001 From: Minzkraut Date: Mon, 12 Jun 2023 21:27:27 +0200 Subject: [PATCH] Rendering: Reposition labels for top-aligned default --- commands/profile.js | 6 +++--- util/rendering.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/profile.js b/commands/profile.js index b9a14ad..af330e3 100644 --- a/commands/profile.js +++ b/commands/profile.js @@ -105,9 +105,9 @@ module.exports = { { "type": "text", "text": this.encodeStr(discordUser.username.substr(0,15)+(discordUser.username.length>15?'...':'')), - "fontSize": 30, + "fontSize": 32, "x": 25, - "y": 25, + "y": 20, "width": 300, "height": 30, "horizontalAlignment": "center" @@ -157,7 +157,7 @@ module.exports = { "text": customStatus, "fontSize": 30, "x": 550, - "y": 30, + "y": 55, "width": 600, "height": 300, "horizontalAlignment": "left" diff --git a/util/rendering.js b/util/rendering.js index 0491284..cf8fad3 100644 --- a/util/rendering.js +++ b/util/rendering.js @@ -120,7 +120,7 @@ module.exports = { "text": `${character.name}`, "fontSize": 55, "x": 0, - "y": 700, + "y": 850, "width": 600, "height": 300, "horizontalAlignment": "center"