legalthings / angular-signature

HTML5 canvas based smooth signature drawing as angularJS directive (http://szimek.github.io/signature_pad/)
MIT License
105 stars 91 forks source link

Reset image is not fit in canvas. #47

Closed rahulgupta20nov closed 7 years ago

rahulgupta20nov commented 7 years ago

When I click to sign button then clear image then click to reset button. So signature image is not come exact fit.

screen shot 2016-12-13 at 2 43 10 pm
Sarfaraaz commented 7 years ago

What browser are you using? Everything is confirmed to work fine in:

Patches are welcome.

kfprimm commented 7 years ago

I can confirm the above behavior. It seems to happen on high DPI devices. Using Chrome, my Android phone, iPad, & iMac all show the problem. However, an old 1080p Windows 7 machine works fine.

The signature_pad README makes mention of this. I'm currently tinkering with the directive source & will report back if I make any progress.