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

fix: Use correct window to get the devicePixelRatio #2229

Merged
merged 1 commit into from
Mar 24, 2023

Commits on Mar 14, 2023

  1. fix: Use correct window to get the devicePixelRatio

    The `roundOffsetsByDPR` utility was using the global window keyword
    instead of the `getWindow` utility. This meant that applications that
    render to childe windows would have blurry poppers sincee the device pixel
    ratio being used wouldn't be correct.Two cases where that could
    happen:
    
    * Parent window in another monitor
    * Parent window has a different zoom than the child window
    ling1726 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    ff3ed73 View commit details
    Browse the repository at this point in the history