1
0

Adjust move threshold for mouse hold

This commit is contained in:
2025-05-26 04:11:54 +02:00
parent 583ce878df
commit 8c5bca27fb

View File

@@ -140,7 +140,7 @@ _bindMouseHold() {
let holdTimer = null;
const CAT_TOLERANCE = 36;
const MOVE_THRESHOLD = 1450;
const MOVE_THRESHOLD = 150;
const isMouseNearCat = (e) => {
const rect = this.img.getBoundingClientRect();