Update index.php

This commit is contained in:
awesomeuser 2023-08-04 15:22:59 +00:00
parent d701d044a0
commit e88d1358bc

View file

@ -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);
}