{"action":"created","issue":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1063","repository_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks","labels_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1063/comments","events_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1063/events","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1063","id":121929890,"number":1063,"title":"Make Snap look better on retina screens","user":{"login":"bl-nero","id":9391503,"avatar_url":"https://avatars.githubusercontent.com/u/9391503?v=3","gravatar_id":"","url":"https://api.github.com/users/bl-nero","html_url":"https://github.com/bl-nero","followers_url":"https://api.github.com/users/bl-nero/followers","following_url":"https://api.github.com/users/bl-nero/following{/other_user}","gists_url":"https://api.github.com/users/bl-nero/gists{/gist_id}","starred_url":"https://api.github.com/users/bl-nero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bl-nero/subscriptions","organizations_url":"https://api.github.com/users/bl-nero/orgs","repos_url":"https://api.github.com/users/bl-nero/repos","events_url":"https://api.github.com/users/bl-nero/events{/privacy}","received_events_url":"https://api.github.com/users/bl-nero/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/IDE","name":"IDE","color":"0052cc"},{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/labels/Jens?","name":"Jens?","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-12-13T16:37:23Z","updated_at":"2016-05-02T04:29:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/pulls/1063","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1063","diff_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1063.diff","patch_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1063.patch"},"body":"This fixes issue #383. Here's how it works: Whenever a width or height of a Canvas element is read/written, it is scaled appropriately so that on Retina displays we can use high-resolution canvas elements, and still treat them as if their dimensions were the same as they would be on a non-retina display. This way we don't need to take this correction in every single routine that draws anything.\r\n\r\nThe retina-enabled canvas is not used as sprites, however, so that the Snap projects maintain compatibility between retina and non-retina systems.\r\n\r\n**Note that this change is quite intrusive**, because it's performed in an \"aspect programming\" style, by modifying behavior of the Canvas element, so I strongly encourage everyone to test it thoroughly. I tested it on Chrome and Firefox using a Mac system."},"comment":{"url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/comments/216103417","html_url":"https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/pull/1063#issuecomment-216103417","issue_url":"https://api.github.com/repos/jmoenig/Snap--Build-Your-Own-Blocks/issues/1063","id":216103417,"user":{"login":"brianharvey","id":3885074,"avatar_url":"https://avatars.githubusercontent.com/u/3885074?v=3","gravatar_id":"","url":"https://api.github.com/users/brianharvey","html_url":"https://github.com/brianharvey","followers_url":"https://api.github.com/users/brianharvey/followers","following_url":"https://api.github.com/users/brianharvey/following{/other_user}","gists_url":"https://api.github.com/users/brianharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/brianharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianharvey/subscriptions","organizations_url":"https://api.github.com/users/brianharvey/orgs","repos_url":"https://api.github.com/users/brianharvey/repos","events_url":"https://api.github.com/users/brianharvey/events{/privacy}","received_events_url":"https://api.github.com/users/brianharvey/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T04:29:14Z","updated_at":"2016-05-02T04:29:14Z","body":"@as-com Yes, but MacOS gets worse and worse with each \"up\"grade."}}