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

frappe backport: Always request 1× and 2× sprite images for portability #12975

Conversation

kkaefer
Copy link
Contributor

@kkaefer kkaefer commented Sep 26, 2018

Backports #12933 to release-frappe


When creating a offline region, we've previously only requested the sprite image for the specified resolution. This lead to offline packs not being usable on devices that have a different pixel ratio. We're now requesting both 1× and 2× sprites. Some devices use even higher or fractional pixel ratios. However, we only ever use 1× and 2× sprite images in our requests.

When creating a offline region, we've previously only requested the sprite image for the specified resolution. This lead to offline packs not being usable on devices that have a different pixel ratio. We're now requesting both 1x and 2x sprites. Some devices use even higher or fractional pixel ratios. However, we only ever use 1x and 2x sprite images in our requests.
@kkaefer
Copy link
Contributor Author

kkaefer commented Sep 26, 2018

(just testing for mapbox/github-release-tools#12)

@kkaefer kkaefer closed this Sep 26, 2018
@kkaefer kkaefer deleted the backport-frappe-12933-offline-download-retina-sprite branch September 26, 2018 09:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant