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

Update dppx for iPhone 6 Plus / 6s Plus / 7 Plus #203

Closed
wants to merge 1 commit into from
Closed

Update dppx for iPhone 6 Plus / 6s Plus / 7 Plus #203

wants to merge 1 commit into from

Conversation

jsejcksn
Copy link

Updated to the reported value according to Window.devicePixelRatio.

This article does a terrific job of explaining all the details of how Apple scales the display resolution. The computed value of viewport to physical dimension is approximately 2.6087, but the virtual ratio is 3.0.

@LeaVerou
Copy link
Owner

LeaVerou commented Jun 1, 2018

Fascinating. I'm really not sure what to do here, since depending on which definition we'd rather focus on, all these numbers could be considered correct.
If that's ok with you, I'm going to leave this open for a bit in the hopes that others will weigh in as well.
Thank you for contributing!

@PixelPartner
Copy link

I explained it in this issue and also suggested a solution

@jsejcksn jsejcksn requested a review from LeaVerou February 20, 2020 00:07
@jsejcksn
Copy link
Author

@LeaVerou Have you decided what direction to take?

@jsejcksn jsejcksn closed this Feb 23, 2020
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

Successfully merging this pull request may close these issues.

3 participants