refactor: Delete React SyntheticEvent persist (#3700)

This commit is contained in:
Sakito Mukai 2021-06-07 17:32:30 +09:00 committed by GitHub
parent 54dcb73701
commit 6b6002baae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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)