Skip to content

Fix handling of negative distances in transform-translate#1895

Merged
rowanwins merged 2 commits intomasterfrom
transform-translate-fix
May 7, 2020
Merged

Fix handling of negative distances in transform-translate#1895
rowanwins merged 2 commits intomasterfrom
transform-translate-fix

Conversation

@rowanwins
Copy link
Copy Markdown
Member

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Have read How To Contribute.
  • Run npm test at the sub modules where changes have occurred.
  • Run npm run lint to ensure code style at the turf module level.

Fixes a bug in transform-translate where negative distances are handled incorrectly. Added a new test to verify expected behaviour.

Resolves #1451

@rowanwins rowanwins merged commit 0f97326 into master May 7, 2020
@rowanwins rowanwins deleted the transform-translate-fix branch May 7, 2020 03:33
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.

transformTranslate must not be used with negative distances

2 participants