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 accidental drags #1079

Merged
merged 1 commit into from
Mar 29, 2013
Merged

prevent accidental drags #1079

merged 1 commit into from
Mar 29, 2013

Conversation

ansis
Copy link
Collaborator

@ansis ansis commented Mar 19, 2013

This tries to prevent accidental node dragging when you're trying to pan the map. It blocks drags if the mouse is moving too fast before mousedown. Sensitivity is probably affected by hardware, but I think the margin is big enough that this should be fine.

Testing on dev connection at http://localhost:8000/#layer=Bing&map=19.28/-77.03907/38.90232

tmcw added a commit that referenced this pull request Mar 29, 2013
@tmcw tmcw merged commit 52dd7bf into master Mar 29, 2013
@tmcw tmcw deleted the prevent-drag branch March 29, 2013 18:16
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.

2 participants