Update index.php

This commit is contained in:
awesomeuser 2023-08-04 15:19:01 +00:00
parent 61e7c63683
commit 57aaa59e3d

View file

@ -136,6 +136,8 @@
var posX = (e.clientX - crect.left) * canvas.width / crect.width - 1;
var posY = (e.clientY - crect.top) * canvas.height / crect.height - 1;
debug(posX + " " + posY);
ctx.putImageData(pen, posX, posY);
}
</script>