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

Make fewer style.get calls when computing polygon strokes. #980

Merged
merged 2 commits into from
Feb 28, 2019

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Feb 20, 2019

If the polygon stroke or strokeOpacity are functions, then style.get was called for every polygon's stroke. This can be done once, saving needless function calls.

If the polygon stroke or strokeOpacity are functions, then style.get was
called for every polygon's stroke.  This can be done once, saving
needless function calls.
@manthey manthey merged commit 315b653 into master Feb 28, 2019
@manthey manthey deleted the polygon-stroke-fewer-style-calls branch February 28, 2019 18:27
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