Roo/dialog/UploadCropbox.js
authorleon <leon@roojs.com>
Wed, 20 Jul 2022 08:44:11 +0000 (16:44 +0800)
committerleon <leon@roojs.com>
Wed, 20 Jul 2022 08:44:11 +0000 (16:44 +0800)
Roo/dialog/UploadCropbox.js

index b082683..eeb06f9 100644 (file)
@@ -887,7 +887,7 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
                 sx = sx < 0 ? 0 : (sx / this.getScaleLevel());
                 sy = sy < 0 ? 0 : (sy / this.getScaleLevel());
 
-                context.fillStyle = 'white';
+                context.fillStyle = 'red';
                 console.log(canvas.width);
                 console.log(canvas.height);
                 context.fillRect(0, 0, canvas.width, canvas.height);