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

Use float for pixelratio when creating a snapshotter #11367

Merged
merged 1 commit into from
Mar 2, 2018

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Mar 2, 2018

When creating a Snapshotter through the options class, we were forcing the usage of int for pixelratio while the device destiny can be exposed as a decimal. This PR changes the pixelRatio to float in the options class (no other changes required as float was already used for the actual initialisation).

cc @ivovandongen

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Mar 2, 2018
@tobrun tobrun added this to the android-v6.0.0 milestone Mar 2, 2018
@tobrun tobrun self-assigned this Mar 2, 2018
@tobrun tobrun requested a review from LukasPaczos March 2, 2018 09:26
@tobrun tobrun merged commit 4152c30 into release-boba Mar 2, 2018
@tobrun tobrun deleted the tvn-pixelratio-float-snapshot branch March 2, 2018 12:44
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.

None yet

2 participants