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

zoom affects resolution #1

Closed
ryanve opened this issue Mar 16, 2014 · 1 comment
Closed

zoom affects resolution #1

ryanve opened this issue Mar 16, 2014 · 1 comment

Comments

@ryanve
Copy link
Owner

ryanve commented Mar 16, 2014

devicePixelRatio and @media (resolution) are zoom-relative on desktops but static on phones. res should correlate to the media query behavior. res 0.1 calculates resolution at runtime and its methods returned the cached results. This is problematic because methods may not match the media queries depending on the zoom. We'll have to calculate each time.

@ryanve
Copy link
Owner Author

ryanve commented May 14, 2014

0.2.0 is zoom aware.

@ryanve ryanve closed this as completed May 14, 2014
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

No branches or pull requests

1 participant