Skip to content

Conversation

ToTheHit
Copy link
Contributor

@ToTheHit ToTheHit commented May 9, 2022

Checklist

  • The code has been run through pretty yarn run pretty
  • The tests pass on CircleCI
  • You have referenced the issue(s) or other PR(s) this fixes/relates-to
  • The PR Template has been filled out (see below)
  • Had a beer/coffee because you are awesome

What? | Why?

#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:

6e88d91e1473a36ea8aaba8cd6a4eaaf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant