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

[PLAT-821] Fix/click and hold #210

Merged
merged 3 commits into from
Jan 13, 2025
Merged

[PLAT-821] Fix/click and hold #210

merged 3 commits into from
Jan 13, 2025

Conversation

TrevorBurgoyne
Copy link
Member

@TrevorBurgoyne TrevorBurgoyne commented Jan 13, 2025

Option to Disable Click and Hold

PLAT-821

Description

#129 introduced click-and-drag to polygon and polyline annotations, but did not add a way to disable the behavior. This closes #207 by adding the click_and_drag_poly_annotations flag to the configuration object, that when set to false prevents continuous points from being added.

PR Checklist

  • Merged latest main
  • Version number in package.json has been bumped since last release
  • Version numbers match between package package.json and src/version.js
  • Ran npm install and npm run build AFTER bumping the version number
  • Updated documentation if necessary (currently just in api_spec.md)
  • Added changes to changelog.md

Breaking API Changes

None

@TrevorBurgoyne TrevorBurgoyne added the enhancement New feature or request label Jan 13, 2025
@TrevorBurgoyne TrevorBurgoyne merged commit 6c1efae into main Jan 13, 2025
1 check passed
@TrevorBurgoyne TrevorBurgoyne deleted the fix/click-and-hold branch January 13, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Polygon Click + Hold Behavior
1 participant