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

to-rgba expression should return components scaled to 0-255 #5777

Closed
anandthakker opened this issue Nov 30, 2017 · 1 comment
Closed

to-rgba expression should return components scaled to 0-255 #5777

anandthakker opened this issue Nov 30, 2017 · 1 comment
Labels

Comments

@anandthakker
Copy link
Contributor

mapbox-gl-js version:

Steps to Trigger Behavior

Evaluate ["to-rgba", "red"]

Expected Behavior

[255, 0, 0, 1]

Actual Behavior

[1, 0, 0, 1]

@anandthakker
Copy link
Contributor Author

Noticed based on #5676 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant