Commit 0bb59240 by doszhang

dos

parent 4dfe8269
......@@ -481,7 +481,7 @@ function bindUpload(that, ctx, myCanvas, index, callback, imgInfo) {
}
function drawImage(ctx, myCanvas, img, imgInfo) {
console.log(imgInfo)
ctx.save();
ctx.clearRect(0, 0, myCanvas.width, myCanvas.height);
ctx.translate(myCanvas.width / 2, myCanvas.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