-
Notifications
You must be signed in to change notification settings - Fork 999
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
Polyline fixes #657
Polyline fixes #657
Conversation
.on('mousemove', this._onMouseMove, this) // Necessary to prevent 0.8 stutter | ||
.on('mousedown', this._onMouseDown, this) | ||
.on('mouseup', this._onMouseUp, this) // Necessary for 0.8 compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these got shuffled around as i was experimenting with fixes, settled on no change here. i was trying to conditionally bind these listeners based on L.Browser.touch, but that is unreliable because, for example, windows touchscreen devices may need to support both types of events.
Any progress with this? |
This has been merged with #661 |
After much adieu, I have a PR that I've tested on Chrome/iOS/Android/IE and appears to solve the following issues reliably:
description of code changes
these changes result in a much more cross-platform stable version of leaflet-draw, and so I hope that despite the lack of tests, it can be merged, as I may not get a chance to write tests anytime soon. i tried to tag in all of the issues i believe that it probably fixes.