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

Support for opacity #60

Merged
merged 3 commits into from
May 1, 2017
Merged

Support for opacity #60

merged 3 commits into from
May 1, 2017

Conversation

dchen
Copy link
Collaborator

@dchen dchen commented May 1, 2017

Closes #43

@dchen dchen changed the title Support for opacity #43 Support for opacity May 1, 2017
Copy link
Contributor

@jemgold jemgold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thanks!

@jemgold jemgold merged commit 65add31 into airbnb:master May 1, 2017
@dchen dchen deleted the opacity branch May 1, 2017 21:41
// if (style.opacity !== undefined) {
// layer.style().contextSettings().opacity = style.opacity;
// }
const opacity = style.opacity || DEFAULT_OPACITY;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Careful of intentional style.opacity = 0

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixing this.

jemgold pushed a commit that referenced this pull request May 2, 2017
* Support for opacity style

* Add test for opacity

* Remove TODO comment for opacity
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.

3 participants