Frequently when user zooms too much the contents are pixelated. One way to fix is to use a much bigger image/SVG/etc and set the initial scale to some small value. This PR allows doing that by adding the option to set initialScale.
Changes
Added initialScale prop with types and updated README
Motivation
Frequently when user zooms too much the contents are pixelated. One way to fix is to use a much bigger image/SVG/etc and set the initial scale to some small value. This PR allows doing that by adding the option to set
initialScale
.Changes
Added
initialScale
prop with types and updated READMEExample code and GIF