when retina true, after resize window, canvasRendingContext will be scale large
kkxlkkxllb opened this issue · 1 comments
kkxlkkxllb commented
when retina true, after resize browser window, canvasRendingContext will be scale large
ripexz commented
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. 😄