4Q-s-r-o / signature

Flutter plugin that creates a canvas for writing down a signature
MIT License
252 stars 83 forks source link

A strange dot at onPointerUp #31

Closed RegisMelgaco closed 3 years ago

RegisMelgaco commented 3 years ago

It doesn't looks right to me leaving a dot at the and of every pointer up. I don't now why the signature was implemented this way, but i think it would be useful if the user (dev) want it or not. Sorry if i'm not clear, this is my first issue on open source.

Screen Shot 2020-10-09 at 07 36 23
ethael commented 3 years ago

Hello, does the library example do the same for you? Because we are not able to reproduce this state.

MartinHlavna commented 3 years ago

I was able to reproduce this. The problem was that last point is drawn as point (since the is no other point we can draw line to) but it was ignoring the pen stroke width for radius. This needs to be "half-width" to ensure it blends with the line.

Fix will be released in next version both for stable and pre-release.

RegisMelgaco commented 3 years ago

Thanks man!