allaw-ui 5.1.6 → 5.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -289,8 +289,8 @@ var FileUploader = function (_a) {
|
|
|
289
289
|
var cropAreaWidth = 280; // Dimensions réelles du cadre de crop pour square/circle
|
|
290
290
|
var cropAreaHeight = 280;
|
|
291
291
|
if (cropMetadata.shape === "banner") {
|
|
292
|
-
cropAreaWidth =
|
|
293
|
-
cropAreaHeight =
|
|
292
|
+
cropAreaWidth = 360;
|
|
293
|
+
cropAreaHeight = 120;
|
|
294
294
|
}
|
|
295
295
|
// Le zoom dans cropMetadata est le zoom total (baseZoom * zoom relatif)
|
|
296
296
|
// baseZoom est calculé dans le modal comme Math.max(cropWidth / imgWidth, cropHeight / imgHeight)
|