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

Creating a very small rectangle somehow causes the borders to overlap and turn into an hourglass shape #8

Open
techdaddies-kevin opened this issue Apr 20, 2021 · 0 comments

Comments

@techdaddies-kevin
Copy link

techdaddies-kevin commented Apr 20, 2021

This behavior is not seen in Leaflet Draw. It only happens when Leaflet Draw Rotate is added. If you create a normal sized rectangle, and then enable editing on that layer and resize the rectangle down fairly small, it can cause the borders to somehow jump / overlap, turning the rectangle into an hourglass shape. I can consistently reproduce this behavior.
resize-bug

This seems to only happen when uniformScaling is disabled. I also found #5 but setting scaleRounding to ANYTHING seems to make the problem worse.

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

1 participant