react-zoom-pan-pinch
react-zoom-pan-pinch copied to clipboard
When I zoom into a canvas with rects - the rects get blurry
Hi guys,
I'm using this library in a little coloring pixel game I'm working on. So far it works great but when I zoom in everything gets blurry.
Here is how it looks before zoom:
Here is how it looks when I zoom in:
Do you know why this gets blurry and does not stay sharped? Stroking Rects should be vector and always should stay sharp right?
Here is a codesandbox to try it out yourself: https://codesandbox.io/s/dark-darkness-iqwku?file=/src/pages/index.js:382-477
I appreciate any kind of help here. Thx
https://github.com/prc5/react-zoom-pan-pinch/issues/248