From 5d28de813b67d2daf52c9c976c4ef29d6bc6fc1c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 4 May 2020 14:04:54 -0400 Subject: [PATCH] Fix --- commands/edit-meme/skyrim-skill.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/edit-meme/skyrim-skill.js b/commands/edit-meme/skyrim-skill.js index b80f02c3..bb19674e 100644 --- a/commands/edit-meme/skyrim-skill.js +++ b/commands/edit-meme/skyrim-skill.js @@ -58,7 +58,8 @@ module.exports = class SkyrimSkillCommand extends Command { const height = Math.round(base.width / ratio); const canvas = createCanvas(plate.width, plate.height + height); const ctx = canvas.getContext('2d'); - ctx.drawImage(base, 0, 0); + ctx.drawImage(base, 0, 0, plate.width, height); + ctx.drawImage(plate, 0, height + 1); ctx.font = 'normal bold 77px Futura'; ctx.textAlign = 'center'; ctx.textBaseline = 'top';