mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Adjust crop params
This commit is contained in:
@ -3763,6 +3763,8 @@ function callPopup(text, type, inputValue = '') {
|
|||||||
|
|
||||||
$('#avatarToCrop').cropper({
|
$('#avatarToCrop').cropper({
|
||||||
aspectRatio: 2 / 3,
|
aspectRatio: 2 / 3,
|
||||||
|
autoCropArea: 1,
|
||||||
|
rotatable: false,
|
||||||
crop: function (event) {
|
crop: function (event) {
|
||||||
crop_data = event.detail;
|
crop_data = event.detail;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user