From bfa54a2d9e2a8231fdad94bbb98099e5fe63e794 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 04:55:43 +0200 Subject: [PATCH] Adjust mouth open time calculation --- animeCat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/animeCat.js b/animeCat.js index f0334c5..c663050 100644 --- a/animeCat.js +++ b/animeCat.js @@ -215,7 +215,7 @@ _bindMouseHold() { const heldFor = Date.now() - mouseDownAt; if (heldFor > 1000) { // mind. 500ms oder (heldFor - 1000), je nachdem was größer ist - const mouthOpenTime = Math.max(heldFor - 1000, 500); + const mouthOpenTime = Math.max(heldFor - 1000, 100); this.img.src = this.images.mouthOpen || this.images.default; this._startBlinking(); setTimeout(() => {