소스 검색

refactor: Delete React SyntheticEvent persist (#3700)

Sakito Mukai 4 년 전
부모
커밋
6b6002baae
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/components/App.tsx

+ 0 - 2
src/components/App.tsx

@@ -2233,8 +2233,6 @@ class App extends React.Component<AppProps, AppState> {
   private handleCanvasPointerDown = (
     event: React.PointerEvent<HTMLCanvasElement>,
   ) => {
-    event.persist();
-
     // remove any active selection when we start to interact with canvas
     // (mainly, we care about removing selection outside the component which
     //  would prevent our copy handling otherwise)