mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fix flickering mouse tracking when using two touches on mobile (#1390)
This commit is contained in:
parent
2b9ae38946
commit
d902bbd618
1 changed files with 2 additions and 0 deletions
|
@ -2574,6 +2574,8 @@ export class App extends React.Component<any, AppState> {
|
|||
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue