antfu / drauu

Headless SVG-based drawboard in browser.
https://drauu.netlify.app/
MIT License
1.2k stars 64 forks source link

feat: implement undo/redo for eraseLine mode #38

Closed evrys closed 2 months ago

evrys commented 1 year ago

Thanks for this neat little library! I'm using it in a project and noticed the undo/redo doesn't apply to the eraser tool, so I've implemented this feature

antfu commented 2 months ago

Thank you, and I am sorry that I missed your PR. https://github.com/antfu/drauu/pull/41 seems to have already covered the cases, which are released as 0.4.0. Feel free to bring up if it misses anything. Thanks.