From 5eb1870dcdca305c3bf3df090e58eb3bf8d7b59d Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 04:59:09 +0200 Subject: [PATCH] Ensure minimum mouth open time of 1000ms --- animeCat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animeCat.js b/animeCat.js index b6a0229..1ab0f91 100644 --- a/animeCat.js +++ b/animeCat.js @@ -247,7 +247,7 @@ _bindMouseHold() { // Trostpreis: siehe oben else if (heldFor > 1000) { reopenEyes(); - const mouthOpenTime = Math.max(heldFor - 1000, 0); + const mouthOpenTime = Math.max(heldFor - 1000, 1000); if (mouthOpenTime > 0) { this.img.src = this.images.mouthOpen || this.images.default; this._startBlinking();