From bbbb7c3a45208db8d261342c65f2b6fe784dd4eb Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 21 Nov 2020 19:29:56 -0500 Subject: [PATCH] Fix --- commands/edit-image/yu-gi-oh-gen.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/edit-image/yu-gi-oh-gen.js b/commands/edit-image/yu-gi-oh-gen.js index 785bdee2..cc458f04 100644 --- a/commands/edit-image/yu-gi-oh-gen.js +++ b/commands/edit-image/yu-gi-oh-gen.js @@ -121,10 +121,11 @@ module.exports = class YuGiOhGenCommand extends Command { } } ctx.font = '14px Noto'; - ctx.fillStyle = 'black'; + ctx.fillStyle = monsterType === 'xyz' || monsterType === 'link' ? 'white' : 'black'; ctx.textBaseline = 'top'; ctx.font = '87px Matrix'; ctx.fillText(name, 57, 57, 620); + ctx.fillStyle = 'black'; ctx.font = '31px Stone Serif Small Caps'; if (type === 'monster') { let typeStr = `[ ${firstUpperCase(species)} / ${firstUpperCase(monsterType)}`;