From 3efb476a8ce87cdb5a9858632ecd7787bade15d2 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 9 Oct 2018 01:04:12 +0000 Subject: [PATCH] Fix --- commands/image-edit/new-password.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/image-edit/new-password.js b/commands/image-edit/new-password.js index bb41b5e2..72da543d 100644 --- a/commands/image-edit/new-password.js +++ b/commands/image-edit/new-password.js @@ -40,8 +40,8 @@ module.exports = class NewPasswordCommand extends Command { const ctx = canvas.getContext('2d'); ctx.drawImage(base, 0, 0); ctx.font = '25px Noto'; - ctx.fillText(shortenText(ctx, weak, 400), 48, 113); - ctx.fillText(shortenText(ctx, strong, 400), 48, 351); + ctx.fillText(shortenText(ctx, weak, 390), 40, 113); + ctx.fillText(shortenText(ctx, strong, 390), 40, 351); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'new-password.png' }] }); } };