wesmiler 6 vuotta sitten
vanhempi
commit
bab4195075
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      public/static/weixin/js/photo.js

+ 5 - 5
public/static/weixin/js/photo.js

@@ -508,11 +508,11 @@ var app = new Vue({
                 // autoCropArea: 1,
                 // cropBoxMovable: false,
                 // cropBoxResizable: false,
-                // minContainerWidth: iWidth,
-                // minContainerHeight: iHeight,
-                // minCropBoxWidth: cropWidth,
-                // maxCropBoxWidth: iWidth,
-                // minCropBoxHeight: iHeight,
+                minContainerWidth: iWidth,
+                minContainerHeight: iHeight,
+                minCropBoxWidth: cropWidth,
+                maxCropBoxWidth: iWidth,
+                minCropBoxHeight: iHeight,
                 // canvasWeight: cropWidth,
                 // canvasHeight: iHeight,
                 /*minCanvasWeight: cropWidth*0.4,