From 3a3c6c490d81a8a426ec6726b916a92da934de44 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 21 Nov 2020 20:27:12 -0500 Subject: [PATCH] Fix --- commands/edit-image/yu-gi-oh-gen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/yu-gi-oh-gen.js b/commands/edit-image/yu-gi-oh-gen.js index 10cfa17a..ba26cabd 100644 --- a/commands/edit-image/yu-gi-oh-gen.js +++ b/commands/edit-image/yu-gi-oh-gen.js @@ -139,8 +139,8 @@ module.exports = class YuGiOhGenCommand extends Command { typeStr += ' ]'; ctx.fillText(typeStr, 60, 894); ctx.font = '29px Stone Serif'; - ctx.fillText(atk, 514, 1079); - ctx.fillText(def, monsterType === 'link' ? 722 : 675, 1079); + ctx.fillText(atk.padStart(4, ' '), 514, 1079); + ctx.fillText(def.padStart(4, ' '), monsterType === 'link' ? 722 : 675, 1079); } else if (type === 'spell') { ctx.font = '35px Stone Serif Small Caps'; ctx.fillText('[ Spell Card ]', 479, 141);