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

Store different opacity when unclustered #890

Merged
merged 1 commit into from Apr 19, 2018

Conversation

@r-yanyo
Copy link
Contributor

commented Apr 18, 2018

Following code store opacity number 1 if this.options.opacity equals 0, but the number 0 should be stored.

this.options.opacityWhenUnclustered = this.options.opacity || 1;

Therefore, need to check if it's number or not before stored.

@danzel

This comment has been minimized.

Copy link
Member

commented Apr 19, 2018

Good catch!

@danzel danzel merged commit 79441a6 into Leaflet:master Apr 19, 2018

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details

Exilz added a commit to archriss/Leaflet.markercluster that referenced this pull request Jul 6, 2018

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