hunkim98 / dotting

Dotting is a pixel art editor component library for react
https://hunkim98.github.io/dotting/
MIT License
43 stars 12 forks source link

Allow pan zoom to be adjusted to fit the grid canvas inside the canvas #87

Closed hunkim98 closed 12 months ago

hunkim98 commented 1 year ago

Currently the initial pan zoom is the same for all inputted initial data. Some user would like to have a 256 x 256 grid canvas. It would be great to adjust the initial pan zoom value to fit the grid canvas inside the canvas element initially.

Also, our current min and max scale limits the user in interacting with the canvas. For instance, a user would like to view the art from a faraway view. We should change the min and max scale range to fix this issue.