From d28b0e898b10ae2ffe7aab528e0801abd5de63ec Mon Sep 17 00:00:00 2001 From: biglyderv Date: Tue, 20 May 2025 21:13:25 -0400 Subject: [PATCH] hopefully fix fr --- js/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/core.js b/js/core.js index ce9bd40..5f2cced 100644 --- a/js/core.js +++ b/js/core.js @@ -67,8 +67,8 @@ function Canvas(width, height, upscale) { this.elem.addEventListener('touchend', function (e) { that.clicked = false; - that.firstX = e.touches[0].pageY; - that.firstY = e.touches[0].pageY; + that.firstX = this.pageX; + that.firstY = this.pageY; });