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

Add Background.transparent #78

Open
kuon opened this issue Apr 2, 2018 · 2 comments
Open

Add Background.transparent #78

kuon opened this issue Apr 2, 2018 · 2 comments

Comments

@kuon
Copy link

kuon commented Apr 2, 2018

I think it would make sense to have Background.transparent instead of passing Background.color (Color.rgba 0 0 0 0).

In addition of being shorter, it might produce different result when animated/GPU rendered (background: transparent vs background-color: rgba(0, 0, 0, 0).

@mdgriffith
Copy link
Owner

Do you have an example of where this would be used?

Backgrounds default to transparent, so I'm wondering about the usecase 🤔 Are you handling something with mouseOver?

@kuon
Copy link
Author

kuon commented Apr 3, 2018 via email

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

No branches or pull requests

2 participants