From 34c39e196c6703b2ea71be7c88f00296f7ca8646 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 27 Apr 2024 14:48:47 -0400 Subject: [PATCH] A bit smaller --- commands/edit-face/shrek.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/edit-face/shrek.js b/commands/edit-face/shrek.js index 5f712d03..e88686b3 100644 --- a/commands/edit-face/shrek.js +++ b/commands/edit-face/shrek.js @@ -46,10 +46,10 @@ module.exports = class ShrekCommand extends Command { const height = shrek.height * ratio; ctx.drawImage( shrek, - face.box.xMin - (face.box.width * 0.2), + face.box.xMin - (face.box.width * 0.3), face.box.yMin - (height / 2.5), - face.box.width * 1.6, - height * 1.6 + face.box.width * 1.5, + height * 1.5 ); } return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'shrek.png' }] });