Commit 2975e199 by doszhang

dos

parent 16101363
......@@ -217,7 +217,7 @@ function initCanvas(target, id, canvasWidth, canvasHeight, useRem = false) {
canvasHeight = pxToRem(canvasHeight);
}
black = loadedImages[blackUrl];
console.log(black)
console.log(blackUrl)
$(target).append($('<canvas id="' + id + '" width="' + canvasWidth + '" height="' + canvasHeight + '"></canvas>'));
canvas = $('#' + id)[0];
ctx = canvas.getContext("2d");
......
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