Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Accept floating numbers during core->platform color conversion #14954

Merged
merged 1 commit into from
Jun 18, 2019

Conversation

LukasPaczos
Copy link
Member

@LukasPaczos LukasPaczos commented Jun 18, 2019

Closes #14943.
Refs mapbox/mapbox-android-demo#1090.
Follow up from #14233.

Colors components coming from the core can be sporadically be represented with floating point numbers due to the color parser imprecision. We still should accept and floor those.

@LukasPaczos LukasPaczos merged commit 55527d0 into master Jun 18, 2019
@LukasPaczos LukasPaczos deleted the lp-accept-decimal-colors branch June 18, 2019 11:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[android] getFillColorAsInt() can't be converted to int
2 participants