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 + ' |