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

add grid styling #15

Closed Lee-Si-Yoon closed 1 year ago

Lee-Si-Yoon commented 1 year ago

[Issue #9]

Changes

Preview

chrome-capture-2023-3-2

hunkim98 commented 1 year ago

By the way, the canvas styling I was trying to talk about was the css styling of the canvas html element! Currently the outer border of <canvas/> is default to black border. I thought some people would not like the black border or want to change the margin and so on. But still, your contribution is great and will come in handy!! 🤩

If possible could you add some styling props in the DottingProps so that we can change the styling of the canvas? Thank you so much! Your contribution will be applied in the next release!

Lee-Si-Yoon commented 1 year ago

By the way, the canvas styling I was trying to talk about was the css styling of the canvas html element! Currently the outer border of <canvas/> is default to black border.

fixed to match original intention + extended strokes to prevent corners getting segmented