Spaces:
Running
Running
Update stylings
Browse files- web/static/script.js +1 -1
web/static/script.js
CHANGED
@@ -69,7 +69,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
69 |
sourceX = 0;
|
70 |
}
|
71 |
|
72 |
-
ctx.drawImage(uploadedImage, sourceX, sourceY, sourceWidth, sourceHeight, 0, 0,
|
73 |
|
74 |
const croppedImage = new Image();
|
75 |
croppedImage.src = canvas.toDataURL();
|
|
|
69 |
sourceX = 0;
|
70 |
}
|
71 |
|
72 |
+
ctx.drawImage(uploadedImage, sourceX, sourceY, sourceWidth, sourceHeight, 0, 0, 400, 400);
|
73 |
|
74 |
const croppedImage = new Image();
|
75 |
croppedImage.src = canvas.toDataURL();
|