X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=b3be73aa08baf099559af3b0b7c1f7d1c1ff774a;hb=refs%2Fheads%2Fwip_leon_T7094_logo_image_upload_in_boilerplate;hp=7e00b96dc74722e52cc8789455591aca6c4bc27f;hpb=621751f2b175d7c8b42db970bad2b6627f2a5082;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index 7e00b96dc7..b3be73aa08 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -69096,6 +69096,10 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component, { context.scale(scale, scale); } + context.fillStyle = 'white'; + context.fillRect(0, 0, this.thumbEl.getWidth() / this.getScaleLevel(), this.thumbEl.getHeight() / this.getScaleLevel()); + + context.drawImage(imageCanvas, sx, sy, width, height, x, y, width, height); break;