1
0

Refactor and fix issue with petting state in animeCat.js

This commit is contained in:
2025-05-26 04:25:29 +02:00
parent 2855656030
commit 87829a9467

View File

@@ -301,8 +301,8 @@ _bindMouseHold() {
img.src = this.images.mouthOpen || this.images.default;
setTimeout(() => {
if (!this._pettingActive) {
this.img.src = this.images.default;
}
this.img.src = this.images.default;
}
setTimeout(() => {
wrapper.style.transition = origTransition || '';
wrapper.style.transform = origTransform || '';