You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, users with a Retina/HiDPI display see a pixellated image, even if the actual image is much higher resolution. It would be great to check the devicePixelRatio property and multiply visible canvas resolutions by that value to make things render pixel-perfect ✨
I tried to do this (using this method to scale the user visible canvas contexts appropriately), but it didn’t seem to work very well, probably because of how the canvas content is copied from another canvas. I’m not sure how deep the changes need to go for this to work right.
The text was updated successfully, but these errors were encountered:
No, my source is a (somewhat low-resolution) raster source, but the actual UI elements (like the dots and such added by WPD) are what I’m talking about here — as well as the image itself when zoomed out.
Currently, users with a Retina/HiDPI display see a pixellated image, even if the actual image is much higher resolution. It would be great to check the
devicePixelRatio
property and multiply visible canvas resolutions by that value to make things render pixel-perfect ✨I tried to do this (using this method to scale the user visible canvas contexts appropriately), but it didn’t seem to work very well, probably because of how the canvas content is copied from another canvas. I’m not sure how deep the changes need to go for this to work right.
The text was updated successfully, but these errors were encountered: