brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
693 stars 530 forks source link

Undo last stroke #50

Closed sangariv closed 10 years ago

sangariv commented 10 years ago

HI,

I have u used your plugin and added different colors of brush. I have drawn three lines with 3 different color. but when i click undolast stroke ,it makes all the stroke to same color.

can you explain why i am facing this isssue Thanks in advance.

sangariv commented 10 years ago

can u please post me some answers

brinley commented 10 years ago

We don't save the different colors for each stroke (https://github.com/brinley/jSignature/blob/master/src/jSignature.js#L345) as we don't see why signatures should change color during the signing. That said supporting this is not impossible but i do not have the time to do this at the moment and it sounds like you should be using some form of paint library rather than a signature library.