Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DiagramWidget.tsx #259

Merged
merged 1 commit into from
Jul 13, 2018

Conversation

brian-eightsolutions
Copy link
Contributor

@brian-eightsolutions brian-eightsolutions commented Jul 10, 2018

This is the proposed fix for the issue that I just logged: #258

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 because you are awesome

What?

Fixes issue where closing context menu caused a state where it was stuck in MoveCanvasAction with no mouse button pressed.

Why?

So that the issue doesn't happen.

How?

One line change. Don't run any of the mousedown logic if you right click.

Feel-Good "programming lol" image:

(Add your own one below :])

LOL

This is the proposed fix for the issue that I just logged: projectstorm#258
@dylanvorster dylanvorster merged commit fa34f5c into projectstorm:master Jul 13, 2018
@mreishus
Copy link

Thanks for this pull request, it solves an issue I'm having. Will a new version including this be released to NPM?

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.

3 participants