1
0

Adjust mouth open time calculation in animeCat.js

This commit is contained in:
2025-05-26 04:53:08 +02:00
parent 237d08eaf8
commit 8f6def90b1

View File

@@ -213,7 +213,7 @@ _bindMouseHold() {
mouseDown = false;
reopenEyes();
const heldFor = Date.now() - mouseDownAt;
const mouthOpenTime = Math.max(heldFor - 1000, 0) < 500 ? 500 : Math.max(heldFor - 1000, 0);
const mouthOpenTime = Math.max(heldFor - 1000, 700);
if (mouthOpenTime > 0) {
this.img.src = this.images.mouthOpen || this.images.default;
this._startBlinking();