From 6458ba64cf5322b21f529dd451e48ff62fd7fd60 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 12 Jun 2020 10:44:11 -0400 Subject: [PATCH] Fix --- commands/edit-image/yu-gi-oh-gen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image/yu-gi-oh-gen.js b/commands/edit-image/yu-gi-oh-gen.js index a7b18238..71f0b70f 100644 --- a/commands/edit-image/yu-gi-oh-gen.js +++ b/commands/edit-image/yu-gi-oh-gen.js @@ -113,7 +113,7 @@ module.exports = class YuGiOhGenCommand extends Command { const ctx = canvas.getContext('2d'); ctx.fillStyle = 'white'; ctx.fillRect(0, 0, base.width, base.height); - const { x, y, width, height } = centerImagePart(data, 109, 241, 590, 590); + const { x, y, width, height } = centerImagePart(data, 590, 590, 109, 241); ctx.drawImage(data, x, y, width, height); ctx.drawImage(base, 0, 0); ctx.drawImage(atr, 669, 61, 77, 77);