1
0

Add petting active flag in animeCat.js

This commit is contained in:
2025-05-26 04:23:31 +02:00
parent c701e04383
commit 00d33e2068

View File

@@ -162,6 +162,7 @@ _bindMouseHold() {
this.img.addEventListener('mousedown', (e) => {
if (this._isSpeaking || joyActive) return;
if (!isMouseNearCat(e)) return;
this._pettingActive = true;
mouseDown = true;
mouseDownAt = Date.now();