From 9e1befb35eb39963227f7630a74907f46749b9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1?= <git@imaniti.org> Date: Wed, 16 Nov 2022 07:58:23 +0100 Subject: [PATCH] fix quote name rect offset --- VERSION | 2 +- generator/static/js/templates/bottom-slogan-quote.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index fdd3be6d..266146b8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6.2 +1.6.3 diff --git a/generator/static/js/templates/bottom-slogan-quote.js b/generator/static/js/templates/bottom-slogan-quote.js index fe82b3f0..03b2fb87 100644 --- a/generator/static/js/templates/bottom-slogan-quote.js +++ b/generator/static/js/templates/bottom-slogan-quote.js @@ -62,7 +62,7 @@ class BottomSloganQuote extends Template { const nameTextMaxWidth = Math.ceil(this.canvas.width * 0.35); // Name rectangle - const nameRectangleOffsetSide = Math.ceil(this.canvas.width * 0.025); + const nameRectangleOffsetSide = Math.ceil(this.canvas.width * 0.356); const nameRectangleOffsetTop = Math.ceil(this.canvas.height * 0.03); const nameRectanglePaddingSides = Math.ceil(this.canvas.width * 0.025); const nameRectanglePaddingTop = Math.ceil(this.canvas.height * 0.01); -- GitLab