{"action":"created","issue":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/21579","repository_url":"https://api.github.com/repos/code-dot-org/code-dot-org","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/21579/labels{/name}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/21579/comments","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/21579/events","html_url":"https://github.com/code-dot-org/code-dot-org/pull/21579","id":310167169,"number":21579,"title":"Draw sticker size bug","user":{"login":"nkiruka","id":30066710,"avatar_url":"https://avatars2.githubusercontent.com/u/30066710?v=4","gravatar_id":"","url":"https://api.github.com/users/nkiruka","html_url":"https://github.com/nkiruka","followers_url":"https://api.github.com/users/nkiruka/followers","following_url":"https://api.github.com/users/nkiruka/following{/other_user}","gists_url":"https://api.github.com/users/nkiruka/gists{/gist_id}","starred_url":"https://api.github.com/users/nkiruka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkiruka/subscriptions","organizations_url":"https://api.github.com/users/nkiruka/orgs","repos_url":"https://api.github.com/users/nkiruka/repos","events_url":"https://api.github.com/users/nkiruka/events{/privacy}","received_events_url":"https://api.github.com/users/nkiruka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"joshlory","id":413693,"avatar_url":"https://avatars3.githubusercontent.com/u/413693?v=4","gravatar_id":"","url":"https://api.github.com/users/joshlory","html_url":"https://github.com/joshlory","followers_url":"https://api.github.com/users/joshlory/followers","following_url":"https://api.github.com/users/joshlory/following{/other_user}","gists_url":"https://api.github.com/users/joshlory/gists{/gist_id}","starred_url":"https://api.github.com/users/joshlory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshlory/subscriptions","organizations_url":"https://api.github.com/users/joshlory/orgs","repos_url":"https://api.github.com/users/joshlory/repos","events_url":"https://api.github.com/users/joshlory/events{/privacy}","received_events_url":"https://api.github.com/users/joshlory/received_events","type":"User","site_admin":false},"assignees":[{"login":"joshlory","id":413693,"avatar_url":"https://avatars3.githubusercontent.com/u/413693?v=4","gravatar_id":"","url":"https://api.github.com/users/joshlory","html_url":"https://github.com/joshlory","followers_url":"https://api.github.com/users/joshlory/followers","following_url":"https://api.github.com/users/joshlory/following{/other_user}","gists_url":"https://api.github.com/users/joshlory/gists{/gist_id}","starred_url":"https://api.github.com/users/joshlory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshlory/subscriptions","organizations_url":"https://api.github.com/users/joshlory/orgs","repos_url":"https://api.github.com/users/joshlory/repos","events_url":"https://api.github.com/users/joshlory/events{/privacy}","received_events_url":"https://api.github.com/users/joshlory/received_events","type":"User","site_admin":false},{"login":"caleybrock","id":4640747,"avatar_url":"https://avatars2.githubusercontent.com/u/4640747?v=4","gravatar_id":"","url":"https://api.github.com/users/caleybrock","html_url":"https://github.com/caleybrock","followers_url":"https://api.github.com/users/caleybrock/followers","following_url":"https://api.github.com/users/caleybrock/following{/other_user}","gists_url":"https://api.github.com/users/caleybrock/gists{/gist_id}","starred_url":"https://api.github.com/users/caleybrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caleybrock/subscriptions","organizations_url":"https://api.github.com/users/caleybrock/orgs","repos_url":"https://api.github.com/users/caleybrock/repos","events_url":"https://api.github.com/users/caleybrock/events{/privacy}","received_events_url":"https://api.github.com/users/caleybrock/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-30T20:58:24Z","updated_at":"2018-04-09T21:35:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/21579","html_url":"https://github.com/code-dot-org/code-dot-org/pull/21579","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/21579.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/21579.patch"},"body":"This PR shows the solution that allows users to draw a sticker to any size.\r\n\r\nBug:\r\nSticker sizes larger than 100 are capped at 100.\r\n\r\n![max-size-sticker-bug-v1](https://user-images.githubusercontent.com/30066710/38152953-295367d4-341f-11e8-97bc-9b2722382fa5.gif)\r\n\r\nSolution:\r\n-Check the dimensions of all the sticker assets \r\n-Since all the sticker assets have a width and height of 100, a condition to account for if the width or height is different is not required.  \r\n-When a size greater than a 100 is entered, the width and height of the sticker is set to the size in the scaleToBoundingBox function and drawn to the new setting. \r\n\r\n![max-size-sticker-bug-fix](https://user-images.githubusercontent.com/30066710/38152957-2ddec082-341f-11e8-88fb-f41c8d5e7286.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments/379901395","html_url":"https://github.com/code-dot-org/code-dot-org/pull/21579#issuecomment-379901395","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/21579","id":379901395,"user":{"login":"nkiruka","id":30066710,"avatar_url":"https://avatars2.githubusercontent.com/u/30066710?v=4","gravatar_id":"","url":"https://api.github.com/users/nkiruka","html_url":"https://github.com/nkiruka","followers_url":"https://api.github.com/users/nkiruka/followers","following_url":"https://api.github.com/users/nkiruka/following{/other_user}","gists_url":"https://api.github.com/users/nkiruka/gists{/gist_id}","starred_url":"https://api.github.com/users/nkiruka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkiruka/subscriptions","organizations_url":"https://api.github.com/users/nkiruka/orgs","repos_url":"https://api.github.com/users/nkiruka/repos","events_url":"https://api.github.com/users/nkiruka/events{/privacy}","received_events_url":"https://api.github.com/users/nkiruka/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T21:35:06Z","updated_at":"2018-04-09T21:35:06Z","author_association":"CONTRIBUTOR","body":"@joshlory PR is still active, my goal is to complete this week.  Thanks"}}
{"actor":{"display_login":"nkiruka"}}