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 issue where every button press causes a rerender #61

Merged
merged 1 commit into from Apr 13, 2019

Conversation

Projects
None yet
1 participant
@jaller94
Copy link
Collaborator

jaller94 commented Mar 25, 2019

Because of a faulty condition, the map is redrawn on every button press.
This PR fixes the condition which checks for draw !== null where draw is a boolean and never null.

@jaller94 jaller94 merged commit 22532ba into master Apr 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.