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

Fix gridMinimumScale behaviour #115

Closed styopaiv closed 4 weeks ago

styopaiv commented 1 month ago

Issue: When isGridVisible={false}, the grid reappeared unexpectedly during canvas interactions like panning or zooming.

Fix: Ensured that the grid remains hidden when isGridVisible={false}, regardless of canvas interactions such as panning or zooming. That was caused when GridMinimumScale was introduced. Fixed that behaviour as well.

styopaiv commented 4 weeks ago

@hunkim98 have a look please

hunkim98 commented 4 weeks ago

Will approve! Thanks!