From d902bbd6184e36ad44242d8161d53235c68fae17 Mon Sep 17 00:00:00 2001 From: Roxana Chiorean Date: Sat, 11 Apr 2020 15:26:27 -0700 Subject: [PATCH] Fix flickering mouse tracking when using two touches on mobile (#1390) --- src/components/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/App.tsx b/src/components/App.tsx index 956e2695..75ccbb8b 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -2574,6 +2574,8 @@ export class App extends React.Component { return; } this.portal.socket && + // do not broadcast when more than 1 pointer since that shows flickering on the other side + gesture.pointers.size < 2 && this.broadcastMouseLocation({ pointerCoords, button,