Increase move threshold for mouse hold in animeCat.js
This commit is contained in:
@@ -140,7 +140,7 @@ _bindMouseHold() {
|
|||||||
let holdTimer = null;
|
let holdTimer = null;
|
||||||
|
|
||||||
const CAT_TOLERANCE = 15;
|
const CAT_TOLERANCE = 15;
|
||||||
const MOVE_THRESHOLD = 200;
|
const MOVE_THRESHOLD = 300;
|
||||||
|
|
||||||
const isMouseNearCat = (e) => {
|
const isMouseNearCat = (e) => {
|
||||||
const rect = this.img.getBoundingClientRect();
|
const rect = this.img.getBoundingClientRect();
|
||||||
|
|||||||
Reference in New Issue
Block a user