From 4e920ac4a7f04790c7a7eefda6aeb5337521aed4 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 14 Sep 2018 01:29:27 +0000 Subject: [PATCH] More fixes --- commands/image-edit/demotivational-poster.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/image-edit/demotivational-poster.js b/commands/image-edit/demotivational-poster.js index f6d658b4..8444028e 100644 --- a/commands/image-edit/demotivational-poster.js +++ b/commands/image-edit/demotivational-poster.js @@ -54,9 +54,9 @@ module.exports = class DemotivationalPosterCommand extends Command { const width = Math.min(Math.round(402 / ratio), 602); const x = (canvas.width / 2) - (width / 2); ctx.fillStyle = 'white'; - ctx.fillRect(x - 4, 40, width + 8, 406); + ctx.fillRect(x - 4, 40, width + 8, 410); ctx.fillStyle = 'black'; - ctx.fillRect(x - 2, 42, width + 4, 404); + ctx.fillRect(x - 2, 42, width + 4, 406); ctx.fillStyle = 'white'; ctx.fillRect(x, 44, width, 402); ctx.drawImage(data, x, 44, width, 402);