Rendering: Reposition labels for top-aligned default

This commit is contained in:
2023-06-12 21:27:27 +02:00
committed by Minz
parent e1cc82eb32
commit 2a4b58f7af
2 changed files with 4 additions and 4 deletions

View File

@@ -105,9 +105,9 @@ module.exports = {
{ {
"type": "text", "type": "text",
"text": this.encodeStr(discordUser.username.substr(0,15)+(discordUser.username.length>15?'...':'')), "text": this.encodeStr(discordUser.username.substr(0,15)+(discordUser.username.length>15?'...':'')),
"fontSize": 30, "fontSize": 32,
"x": 25, "x": 25,
"y": 25, "y": 20,
"width": 300, "width": 300,
"height": 30, "height": 30,
"horizontalAlignment": "center" "horizontalAlignment": "center"
@@ -157,7 +157,7 @@ module.exports = {
"text": customStatus, "text": customStatus,
"fontSize": 30, "fontSize": 30,
"x": 550, "x": 550,
"y": 30, "y": 55,
"width": 600, "width": 600,
"height": 300, "height": 300,
"horizontalAlignment": "left" "horizontalAlignment": "left"

View File

@@ -120,7 +120,7 @@ module.exports = {
"text": `${character.name}`, "text": `${character.name}`,
"fontSize": 55, "fontSize": 55,
"x": 0, "x": 0,
"y": 700, "y": 850,
"width": 600, "width": 600,
"height": 300, "height": 300,
"horizontalAlignment": "center" "horizontalAlignment": "center"