From eb4991f8b6a4b47de504576f51d320f9dd430b8d Mon Sep 17 00:00:00 2001 From: Ash Monty Date: Mon, 15 Aug 2022 11:38:12 +0200 Subject: [PATCH] fix(miieditor): neck visible in some face shape/hair combos --- public/assets/js/miieditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/js/miieditor.js b/public/assets/js/miieditor.js index c431fe0..6635f8e 100644 --- a/public/assets/js/miieditor.js +++ b/public/assets/js/miieditor.js @@ -136,7 +136,7 @@ function renderMii(heightOverride, buildOverride) { ctx.drawImage(miiBodyImg, bodyXPos, bodyYPos, bodyWidth, bodyHeight); // we draw a portion of the bald mii on top of the normal mii to hide the mii's neck (see https://i.imgur.com/U0fpkwi.png) - ctx.drawImage(baldMiiFaceImg, 196, 384, 120, 120, 196, headYPos + 384, 120, 120); + ctx.drawImage(baldMiiFaceImg, 186, 384, 140, 120, 186, headYPos + 384, 140, 120); canvas.style.filter = ''; }