diff options
Diffstat (limited to 'client/common')
| -rw-r--r-- | client/common/upload.helpers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/common/upload.helpers.js b/client/common/upload.helpers.js index 4b38fb09..d0baab41 100644 --- a/client/common/upload.helpers.js +++ b/client/common/upload.helpers.js @@ -116,7 +116,7 @@ export function renderToCanvas(img, options) { const initialScale = options.scale || 1 // Scale to needed to constrain canvas to max size let scale = getScale(img.naturalWidth * initialScale, img.naturalHeight * initialScale, maxSide, maxSide, true) - console.log(scale) + // console.log(scale) // Still need to apply the user defined scale scale *= initialScale canvas.width = Math.round(img.naturalWidth * scale) |
