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

Feature request: disable creating new points on click #9

Closed
nonsintetic opened this issue Jul 7, 2024 · 1 comment
Closed

Feature request: disable creating new points on click #9

nonsintetic opened this issue Jul 7, 2024 · 1 comment

Comments

@nonsintetic
Copy link

There a way to prevent extending the line at the ends, but there doesn't seem to be a way to prevent the creation of new points when clicking inside the polylines.

This would be useful if you just want to use the object as a line, not a polyline.

cdauth added a commit that referenced this issue Jul 7, 2024
@cdauth
Copy link
Contributor

cdauth commented Jul 7, 2024

Good suggestion! I have added an option allowDraggingLine for this and released version 3.2.0 to include it.

@cdauth cdauth closed this as completed Jul 7, 2024
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

No branches or pull requests

2 participants