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

Add OS DPI/scale/zoom #30

Open
rudiedirkx opened this issue Aug 2, 2018 · 2 comments
Open

Add OS DPI/scale/zoom #30

rudiedirkx opened this issue Aug 2, 2018 · 2 comments
Labels
related to other issue More information received about an already existing issue

Comments

@rudiedirkx
Copy link

I have my Windows at 1.25 scale/zoom. On OS level, not browser zoom. That means my screen is 1920x1080, but mybrowser.fyi sees 1536x864x. (I didn't calculate, but that should be about 4/5.) Sometimes that's nice to know.

I don't know how to detect it though...

@Andy-set-studio
Copy link
Owner

That's interesting. I'd love to dive into that a bit further. The width is calculated with window.innerWidth, but there's room for that to be a bit smarter to fix #17.

I'll link this up with that issue as I'll probably fix them all in one run.

Thanks @rudiedirkx!

@Andy-set-studio Andy-set-studio added the related to other issue More information received about an already existing issue label Aug 2, 2018
@rudiedirkx
Copy link
Author

I mean the screen, not the window. So probably screen.width, not window.innerWidth. I can't find anything in window or screen larger than screen.width, so maybe it's not detectable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
related to other issue More information received about an already existing issue
Projects
None yet
Development

No branches or pull requests

2 participants