{"action":"created","issue":{"url":"https://api.github.com/repos/legalthings/angular-signature/issues/18","repository_url":"https://api.github.com/repos/legalthings/angular-signature","labels_url":"https://api.github.com/repos/legalthings/angular-signature/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/legalthings/angular-signature/issues/18/comments","events_url":"https://api.github.com/repos/legalthings/angular-signature/issues/18/events","html_url":"https://github.com/legalthings/angular-signature/pull/18","id":158870765,"number":18,"title":"Add support for high DPI and responsive signatures","user":{"login":"Frozenball","id":53298,"avatar_url":"https://avatars.githubusercontent.com/u/53298?v=3","gravatar_id":"","url":"https://api.github.com/users/Frozenball","html_url":"https://github.com/Frozenball","followers_url":"https://api.github.com/users/Frozenball/followers","following_url":"https://api.github.com/users/Frozenball/following{/other_user}","gists_url":"https://api.github.com/users/Frozenball/gists{/gist_id}","starred_url":"https://api.github.com/users/Frozenball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frozenball/subscriptions","organizations_url":"https://api.github.com/users/Frozenball/orgs","repos_url":"https://api.github.com/users/Frozenball/repos","events_url":"https://api.github.com/users/Frozenball/events{/privacy}","received_events_url":"https://api.github.com/users/Frozenball/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-07T08:50:54Z","updated_at":"2016-06-15T20:56:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/legalthings/angular-signature/pulls/18","html_url":"https://github.com/legalthings/angular-signature/pull/18","diff_url":"https://github.com/legalthings/angular-signature/pull/18.diff","patch_url":"https://github.com/legalthings/angular-signature/pull/18.patch"},"body":"Our goal is to create responsive signature. This turns out to be a bit problematic since the underlying library is very much bitmap based. This approach uses predefined size and allows to resize canvas with CSS.\r\n\r\nThis also fixes problems with high DPI screens and resizing browser window (such as #16 or #11).\r\n\r\nSee [our responsive demo](https://rawgit.com/fastmonkeys/angular-signature/fix-high-dpi/responsive_demo.html)."},"comment":{"url":"https://api.github.com/repos/legalthings/angular-signature/issues/comments/226317487","html_url":"https://github.com/legalthings/angular-signature/pull/18#issuecomment-226317487","issue_url":"https://api.github.com/repos/legalthings/angular-signature/issues/18","id":226317487,"user":{"login":"Sarfaraaz","id":2484595,"avatar_url":"https://avatars.githubusercontent.com/u/2484595?v=3","gravatar_id":"","url":"https://api.github.com/users/Sarfaraaz","html_url":"https://github.com/Sarfaraaz","followers_url":"https://api.github.com/users/Sarfaraaz/followers","following_url":"https://api.github.com/users/Sarfaraaz/following{/other_user}","gists_url":"https://api.github.com/users/Sarfaraaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Sarfaraaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sarfaraaz/subscriptions","organizations_url":"https://api.github.com/users/Sarfaraaz/orgs","repos_url":"https://api.github.com/users/Sarfaraaz/repos","events_url":"https://api.github.com/users/Sarfaraaz/events{/privacy}","received_events_url":"https://api.github.com/users/Sarfaraaz/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T20:56:28Z","updated_at":"2016-06-15T20:56:28Z","body":"Hi,\r\n\r\nThanks for your contribution. I've taken a look at your demo, but there's a rather big issue with the changes you've made (or at least judging from the demo).  You've given the canvas a specific size and added full-width styling to it which will have the canvas render the strokes in a much lower quality. Additionally clearing the canvas will only clear the size you've defined in the canvas element.\r\n\r\nIf you could take care of these issues I'll merge this."}}
{"actor":{"display_login":"Sarfaraaz"}}