zsviczian 1 년 전
부모
커밋
d64ac92cc2
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/components/App.tsx

+ 3 - 1
src/components/App.tsx

@@ -5955,7 +5955,9 @@ class App extends React.Component<AppProps, AppState> {
   ) {
   ) {
     return withBatchedUpdatesThrottled((event: PointerEvent) => {
     return withBatchedUpdatesThrottled((event: PointerEvent) => {
       //To avoid pointerMove canceling the selection of locked elements on mobile
       //To avoid pointerMove canceling the selection of locked elements on mobile
-      if(Boolean(this.state.contextMenu)) return;
+      if (Boolean(this.state.contextMenu)) {
+        return;
+      }
 
 
       // We need to initialize dragOffsetXY only after we've updated
       // We need to initialize dragOffsetXY only after we've updated
       // `state.selectedElementIds` on pointerDown. Doing it here in pointerMove
       // `state.selectedElementIds` on pointerDown. Doing it here in pointerMove