Gisellameloni / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Marker cannot be changed once it is added #1180

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
in ext-markers.js, addMarker checks if there is a marker with given id. If 
already exists, simply return.

So, if I want to change a marker from circle to arrow, new marker won't be 
added at all. Marker never changes.

I suggest to delete marker element with given id instead of simply aborting 
adding marker process.

Original issue reported on code.google.com by psh....@gmail.com on 25 Jan 2014 at 7:09