Fixed bug with rapid mouse movement

This commit is contained in:
2022-01-30 12:08:44 +03:00
parent a0b30cafd3
commit 7e7335ef7c
3 changed files with 14 additions and 4 deletions

View File

@@ -169,7 +169,11 @@ export default {
}
function handleMouseEnter() {
if (phone) { phone.animation = phone.lookAtAnim; }
if (phone) {
phone.animation = phone.lookAtAnim;
phone.goingHome = false;
clearTimeout(phone.homeTimeout);
}
}
function handleMouseLeave() {