Fix: right clicking while on the canvas messes up selection

pull/106/head
hazam 5 years ago
parent 4886065443
commit 4a03fa8542

@ -963,6 +963,9 @@ class App extends React.Component<{}, AppState> {
}));
}}
onMouseDown={e => {
if (e.button !== 0) {
return;
}
const x =
e.clientX -
(e.target as HTMLElement).offsetLeft -

Loading…
Cancel
Save