1
0

Adjust mouth open time calculation

This commit is contained in:
2025-05-26 04:55:43 +02:00
parent d4c5069e40
commit bfa54a2d9e

View File

@@ -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(() => {