1
0

auto-git:

[change] animeCat.js
This commit is contained in:
2025-05-26 05:37:07 +02:00
parent cec3323814
commit aa5c66225f

View File

@@ -460,22 +460,6 @@ window.AnimeCat = class AnimeCat {
}, this.talkInterval / 2);
}
appendSpeech(chunk) {
if (this._bubbleTextNode)
this._bubbleTextNode.textContent += chunk;
}
endSpeech() {
clearInterval(this._talkIntervalId);
if (!this._pettingActive) {
this.img.src = this.images.default;
}
this._speechTimeout = setTimeout(() => {
this.bubble.style.opacity = '0';
this._isSpeaking = false;
}, 6000);
}
destroy() {
clearTimeout(this._blinkTimeout);
clearInterval(this._talkIntervalId);