From e88d1358bcba134eb560812e68cda1227f8f0d07 Mon Sep 17 00:00:00 2001 From: awesomeuser Date: Fri, 4 Aug 2023 15:22:59 +0000 Subject: [PATCH] Update index.php --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }