From 4db3bdbc662127a65ecd1621dbdf8e5b4dbe50d2 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Mon, 4 Apr 2022 11:04:20 +0200 Subject: [PATCH] New coords for [koeri] --- koeri.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koeri.html b/koeri.html index fb0550f..47cace5 100644 --- a/koeri.html +++ b/koeri.html @@ -86,8 +86,8 @@ function drawGrid() { function mousePos(evt) { var rect = cvs.getBoundingClientRect(); - var x = parseInt((evt.clientX - rect.left)/10) + 1419; - var y = parseInt((evt.clientY - rect.top)/10) + 1172; + var x = parseInt((evt.clientX - rect.left)/10) + 1936; + var y = parseInt((evt.clientY - rect.top)/10) + 1149; var p = ctx.getImageData(x, y, 1, 1).data; results.innerHTML = '
X: ' + x + 'Y: ' + y + '
';