Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inverted logic in devicePixelRatio test
The condition in the ternary operator is true if there's any reason NOT to use the window.devicePixelRatio. Put the default in the 'true' arm, and devicePixelRatio in the 'false' condition where it's useful. Tested on iOS with Safari's remote debugger, verified that dpr==2.
- Loading branch information