mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't let cropper overflow the canvas (or upload fails)
This commit is contained in:
@ -4476,6 +4476,7 @@ function callPopup(text, type, inputValue = '') {
|
||||
$('#avatarToCrop').cropper({
|
||||
aspectRatio: 2 / 3,
|
||||
autoCropArea: 1,
|
||||
viewMode: 2,
|
||||
rotatable: false,
|
||||
crop: function (event) {
|
||||
crop_data = event.detail;
|
||||
|
Reference in New Issue
Block a user