Skip to content

zoom affects resolution #1

Closed
Closed

Description

@ryanve

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.

Activity

  1. ryanve commented on May 14, 2014

    @ryanve
    OwnerAuthor

    0.2.0 is zoom aware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions