pull/8991/head
dwelle 3 weeks ago
parent ca9b7a505e
commit a22927d4d1

@ -6289,8 +6289,6 @@ class App extends React.Component<AppProps, AppState> {
) => { ) => {
this.maybeCleanupAfterMissingPointerUp(event.nativeEvent); this.maybeCleanupAfterMissingPointerUp(event.nativeEvent);
this.lastPointerDownEvent = event;
this.maybeUnfollowRemoteUser(); this.maybeUnfollowRemoteUser();
if (this.state.searchMatches) { if (this.state.searchMatches) {
@ -6390,6 +6388,8 @@ class App extends React.Component<AppProps, AppState> {
return; return;
} }
this.lastPointerDownEvent = event;
// we must exit before we set `cursorButton` state and `savePointer` // we must exit before we set `cursorButton` state and `savePointer`
// else it will send pointer state & laser pointer events in collab when // else it will send pointer state & laser pointer events in collab when
// panning // panning

Loading…
Cancel
Save