fix: use mousemove instead of click
This commit is contained in:
parent
a7ae9ddb2b
commit
6cab849cfb
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue