From 8a994dfc42ba427f32b79afc0b840ce2d8bee307 Mon Sep 17 00:00:00 2001 From: Andcool-Systems Date: Sun, 1 Sep 2024 22:54:28 +0300 Subject: [PATCH] changed default rendering position in workshop --- src/app/modules/components/card.module.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/components/card.module.tsx b/src/app/modules/components/card.module.tsx index 2f01211..f650ebd 100644 --- a/src/app/modules/components/card.module.tsx +++ b/src/app/modules/components/card.module.tsx @@ -17,7 +17,7 @@ export const generateSkin = async (b64: string, base_skin: HTMLImageElement, col const bandage = await asyncImage(b64Prefix + b64); const height = Math.floor(bandage.height / 2); - const position = 6 - Math.floor(height / 2); + const position = 6 - Math.ceil(height / 2); const skin_canvas = document.createElement('canvas'); const skin_context = skin_canvas.getContext('2d');