fix: force crop box visibility on auto-trim activation by calling cropper.crop()
This commit is contained in:
@@ -502,6 +502,7 @@ function autoTrimTransparent() {
|
||||
maxY = Math.min(canvas.height, maxY + pad);
|
||||
|
||||
// Turn on Crop selection mode visual indicators
|
||||
cropper.crop(); // Manually draw/show the crop selection box
|
||||
cropper.setDragMode('crop');
|
||||
elements.ctrlCropDrag.classList.remove('active');
|
||||
elements.ctrlCropBox.classList.add('active');
|
||||
|
||||
Reference in New Issue
Block a user