Skip to content

Exclude Firefox from the scaled DPI fix #2637

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

Merged
merged 3 commits into from
Sep 12, 2017

Conversation

mrmr1993
Copy link
Contributor

The Chrome fix (#2636) breaks Firefox's link hints when the devicePixelRatio isn't 1. This adds Utils.isFirefox from #2602 and uses it to exclude Firefox.

@smblott-github sorry I missed this with the first PR, took me a while to work out how to scale Firefox (layout.css.devPixelsPerPx in about:config).

This also stops the content scripts from being injected into each frame
on reload (in Firefox only). They do not successfully connect to the
background page, and it causes considerable lag, so we lose nothing by
doing this.
@smblott-github smblott-github merged commit 2342511 into philc:master Sep 12, 2017
@mrmr1993 mrmr1993 deleted the linkhints-scaled-display-fix branch September 12, 2017 11:38
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.

2 participants