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

Prevent overlapping mouse down events #80

Closed
eddydg opened this issue Sep 7, 2018 · 0 comments
Closed

Prevent overlapping mouse down events #80

eddydg opened this issue Sep 7, 2018 · 0 comments
Assignees
Labels

Comments

@eddydg
Copy link
Contributor

eddydg commented Sep 7, 2018

Currently, when the circle is small enough, radius and center edit handlers will overlap.
Dragging one of those handlers will trigger both events _onCenterHandleMouseDown and _onRadiusHandlesMouseDown which provoke weird behaviours after mouseup/mouseout: the circle sticks to the cursor and you have to refresh the page to reset it:

v1.6.5
pre

I would expect only one of the events to be triggered: the one corresponding to the cursor style.

  • move -> center handler mouse down event
  • ns-resize , ew-resize -> radius handler mouse down event

bugfix/overlapping-events
post

Pull request: #79

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

No branches or pull requests

2 participants