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

Fix bug that prevented null from being passed as a drawingMode #3290

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Fix bug that prevented null from being passed as a drawingMode #3290

merged 1 commit into from
Oct 13, 2023

Conversation

andycansdale
Copy link
Contributor

It was not possible to cancel the current drawingMode (polygon, etc) by passing null. The condition inside the useEffect only accepted truthy values for drawingMode, making it impossible to exit a selected drawingMode.

@JustFly1984 JustFly1984 merged commit b768d0a into JustFly1984:develop Oct 13, 2023
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.

2 participants