svgdotjs / svg.draw.js

An extension of svg.js which allows to draw elements with mouse
MIT License
239 stars 57 forks source link

Undo last point feature #35

Closed bsekachev closed 6 years ago

bsekachev commented 6 years ago

Good day, I added an ability to remove last point from poly shapes by svgDrawedInstance.draw('undo') Could you review my patch?

Fuzzyma commented 6 years ago

Very nice feature and clever code! I disagree with your opinion with the last point, though. I wrote my thoughts as comment :)