From 717527123347bc561e2755e6874e53d8130d1600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Gro=C3=9F?= Date: Mon, 12 Jun 2023 16:40:11 +0200 Subject: [PATCH] Rendering: Add placeholder frame and fix profile card alignment --- commands/profile.js | 24 ++++++++++++------------ util/rendering.js | 8 ++++++++ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/commands/profile.js b/commands/profile.js index 1d0d2e1..b9a14ad 100644 --- a/commands/profile.js +++ b/commands/profile.js @@ -73,26 +73,26 @@ module.exports = { { "type": "image", "asset": `${renderedCards[1]}`, - "x": 350, - "y": 325, - "width": 150, - "height": 250 + "x": 375, + "y": 310, + "width": 175, + "height": 275 }, { "type": "image", "asset": `${renderedCards[2]}`, - "x": 510, - "y": 325, - "width": 150, - "height": 250 + "x": 560, + "y": 310, + "width": 175, + "height": 275 }, { "type": "image", "asset": `${renderedCards[3]}`, - "x": 670, - "y": 325, - "width": 150, - "height": 250 + "x": 745, + "y": 310, + "width": 175, + "height": 275 }, { "type": "image", diff --git a/util/rendering.js b/util/rendering.js index c9e6b3a..0491284 100644 --- a/util/rendering.js +++ b/util/rendering.js @@ -102,6 +102,14 @@ module.exports = { { "type": "image", "asset": `${characterImage}`, + "x": 10, + "y": 10, + "width": 580, + "height": 980 + }, + { + "type": "image", + "asset": `${process.env.ASSET_URL}/overlays/default_frame.png`, "x": 0, "y": 0, "width": 600,