1
0

Adjust move threshold for cat interaction

This commit is contained in:
2025-05-26 22:11:18 +02:00
parent 4ea44240bc
commit 14e7e051a1

View File

@@ -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();