From 14e7e051a122ce7b5266de9fab3c9116abfc4743 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 22:11:18 +0200 Subject: [PATCH] Adjust move threshold for cat interaction --- animeCat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animeCat.js b/animeCat.js index 8c84acb..af6eaa5 100644 --- a/animeCat.js +++ b/animeCat.js @@ -278,7 +278,7 @@ _lerpColor(a, b, t) { let moveDist = 0; const CAT_TOLERANCE = 15; - const MOVE_THRESHOLD = 350; + const MOVE_THRESHOLD = 200; const isMouseNearCat = (e) => { const rect = this.img.getBoundingClientRect();