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

Factor DPI into setDataUrl #48

Closed kfprimm closed 7 years ago

kfprimm commented 7 years ago

Hi,

This is a potential fix for #47. As I mentioned in the issue, it appears to be happening on high DPI (i.e. Retina) displays only.

Here's an example of it in use: https://plnkr.co/edit/BFjcIHyrMrs0dj6d36eX?p=preview

Thanks.

jasny commented 7 years ago

Great thanks!

octocat