From 3d49f65b1ab483c53d47d282d29e2063881c7296 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Wed, 10 May 2023 21:43:42 +0300 Subject: [PATCH] Adjust crop params --- public/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/script.js b/public/script.js index 61f49a397..d5e1e7df2 100644 --- a/public/script.js +++ b/public/script.js @@ -3763,6 +3763,8 @@ function callPopup(text, type, inputValue = '') { $('#avatarToCrop').cropper({ aspectRatio: 2 / 3, + autoCropArea: 1, + rotatable: false, crop: function (event) { crop_data = event.detail; }