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

when retina true, after resize window, canvasRendingContext will be scale large #94

Open
kkxlkkxllb opened this issue Mar 24, 2017 · 1 comment

Comments

@kkxlkkxllb
Copy link

when retina true, after resize browser window, canvasRendingContext will be scale large

@ripexz
Copy link

ripexz commented May 1, 2017

Ran into this too, as a workaround I added a callback on resize to scale down again by 1 / window.devicePixelRatio (but only after initial setup resize is done). Would be nice to see a fix for this or I'll submit a PR when I get around to it. 😄

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

No branches or pull requests

2 participants