Open ToTheHit opened 2 years ago
yarn run pretty
https://github.com/projectstorm/react-diagrams/issues/940
Store pressed mouse button and ignore other events if they contain different button. Also I did a little refactor, because 9 if-else is too much :)
if-else
Checklist
yarn run pretty
What? | Why?
https://github.com/projectstorm/react-diagrams/issues/940
How?
Store pressed mouse button and ignore other events if they contain different button. Also I did a little refactor, because 9
if-else
is too much :)Feel good image: