This commit is contained in:
Dragon Fire
2020-06-12 10:44:11 -04:00
parent 790713331b
commit 6458ba64cf
+1 -1
View File
@@ -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);