refactor: Delete React SyntheticEvent persist (#3700)

pull/3701/head
Sakito Mukai 4 years ago committed by GitHub
parent 54dcb73701
commit 6b6002baae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save