From 6cab849cfb6076a01b2dd697533252fd2c9bfa82 Mon Sep 17 00:00:00 2001 From: ShiKhu Date: Thu, 8 Jul 2021 12:00:22 +0300 Subject: [PATCH] fix: use mousemove instead of click --- .../app/player/MessageDistributor/managers/AssistManager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/player/MessageDistributor/managers/AssistManager.ts b/frontend/app/player/MessageDistributor/managers/AssistManager.ts index 674f9261f..0e9f002e6 100644 --- a/frontend/app/player/MessageDistributor/managers/AssistManager.ts +++ b/frontend/app/player/MessageDistributor/managers/AssistManager.ts @@ -280,7 +280,7 @@ export default class AssistManager { update({ calling: CallingState.True }); onStream(stream); // @ts-ignore ?? - this.md.overlay.addEventListener("click", this.onMouseMove) + this.md.overlay.addEventListener("mousemove", this.onMouseMove) }); this.onCallEnd = () => { @@ -290,7 +290,7 @@ export default class AssistManager { onClose(); // @ts-ignore ?? - this.md.overlay.removeEventListener("click", this.onMouseMove); + this.md.overlay.removeEventListener("mousemove", this.onMouseMove); update({ calling: CallingState.False }); this.onCallEnd = null; }