Commit 796214d2 by doszhang

dos

parent 0cd22ae3
......@@ -208,6 +208,7 @@ var drawImage = function (ctx, myCanvas, img, imgInfo) {
}
function initCanvas(target, id, canvasWidth, canvasHeight, useRem = false) {
console.log(1);
if (useRem) {
canvasWidth = pxToRem(canvasWidth);
canvasHeight = pxToRem(canvasHeight);
......
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