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

Support for retina resolution #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support for retina resolution #13

wants to merge 1 commit into from

Conversation

jcgiuffrida
Copy link

This will quadruple the canvas size and resolution if retina support is detected. devicePixelRatio is a window-scoped variable.

Currently, using simg on retina results in images that have 1/4 the resolution (or 1/4 the size) of the SVG in the browser.

`devicePixelRatio` is a window-scoped variable
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.

1 participant