Commit 145b109a by doszhang

dos

parent fd45d96b
...@@ -226,7 +226,7 @@ $(document).ready(function () { ...@@ -226,7 +226,7 @@ $(document).ready(function () {
} else { } else {
scale = 1000 / height; scale = 1000 / height;
} }
// uploadctx.scale(scale, scale); uploadctx.scale(scale, scale);
uploadedImg.width = width; uploadedImg.width = width;
uploadedImg.height = height; uploadedImg.height = height;
uploadctx.translate(uploadedImg.width / 2, uploadedImg.height / 2); uploadctx.translate(uploadedImg.width / 2, uploadedImg.height / 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment