diff --git a/index.php b/index.php index 57ac9ce..130a547 100644 --- a/index.php +++ b/index.php @@ -136,7 +136,7 @@ var posX = e.offsetX * canvas.width / crect.width - 1; var posY = e.offsetY * canvas.height / crect.height - 1; - console.log(posX + " " + posY); + console.log(canvas.width + " : " + crect.width); ctx.putImageData(pen, posX, posY); }