From c22f80e1404cdd4159178bda65f08ba0641b7f16 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 23 Mar 2024 21:38:43 -0400 Subject: [PATCH] Fix --- commands/edit-face/danny-devito.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/edit-face/danny-devito.js b/commands/edit-face/danny-devito.js index 84b7f950..f3bb86c5 100644 --- a/commands/edit-face/danny-devito.js +++ b/commands/edit-face/danny-devito.js @@ -47,10 +47,10 @@ module.exports = class DannyDevitoCommand extends Command { const height = danny.height * ratio; ctx.drawImage( danny, - face.box.xMin - (face.box.width * 0.25), - face.box.yMin - (height / 2) - (height * 0.25), - face.box.width * 1.5, - height * 1.5 + face.box.xMin - (face.box.width * 0.5), + face.box.yMin - (height / 2) - (height * 0.5), + face.box.width * 1.25, + height * 1.25 ); } return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'danny-devito.png' }] });