react-zoom-pan-pinch icon indicating copy to clipboard operation
react-zoom-pan-pinch copied to clipboard

When I zoom into a canvas with rects - the rects get blurry

Open SelfDevTV opened this issue 3 years ago • 1 comments

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:

image

Here is how it looks when I zoom in:

image

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

SelfDevTV avatar Aug 19 '21 09:08 SelfDevTV

https://github.com/prc5/react-zoom-pan-pinch/issues/248

arthedza avatar Oct 22 '21 16:10 arthedza