{"action":"created","issue":{"url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/369","labels_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/369/comments","events_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/369/events","html_url":"https://github.com/adobe-photoshop/generator-assets/pull/369","id":112200405,"number":369,"title":"Updated zero bounds check to include whole document. Also updated Content Bounds calculations","user":{"login":"swap-null","id":14880349,"avatar_url":"https://avatars.githubusercontent.com/u/14880349?v=3","gravatar_id":"","url":"https://api.github.com/users/swap-null","html_url":"https://github.com/swap-null","followers_url":"https://api.github.com/users/swap-null/followers","following_url":"https://api.github.com/users/swap-null/following{/other_user}","gists_url":"https://api.github.com/users/swap-null/gists{/gist_id}","starred_url":"https://api.github.com/users/swap-null/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swap-null/subscriptions","organizations_url":"https://api.github.com/users/swap-null/orgs","repos_url":"https://api.github.com/users/swap-null/repos","events_url":"https://api.github.com/users/swap-null/events{/privacy}","received_events_url":"https://api.github.com/users/swap-null/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-19T18:03:30Z","updated_at":"2015-10-20T23:07:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adobe-photoshop/generator-assets/pulls/369","html_url":"https://github.com/adobe-photoshop/generator-assets/pull/369","diff_url":"https://github.com/adobe-photoshop/generator-assets/pull/369.diff","patch_url":"https://github.com/adobe-photoshop/generator-assets/pull/369.patch"},"body":"Bug reference:\r\n#4025261: Export As shows that document is empty when it isn't (create new file and paste)\r\n#4075363: Asset is not clipped to document bound (file with empty layer that goes outside of doc bound + layer mask)\r\n\r\n- Need to check for zero bounds for the whole document. If whole document returns zero bounds it's recommended to double check the correctness of documentInfo.\r\n- When you have a shape layer with no-fill and no stroke essentially it's an empty layer. Handling it in the content bounds calculations."},"comment":{"url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/comments/149727143","html_url":"https://github.com/adobe-photoshop/generator-assets/pull/369#issuecomment-149727143","issue_url":"https://api.github.com/repos/adobe-photoshop/generator-assets/issues/369","id":149727143,"user":{"login":"redmunds","id":1197144,"avatar_url":"https://avatars.githubusercontent.com/u/1197144?v=3","gravatar_id":"","url":"https://api.github.com/users/redmunds","html_url":"https://github.com/redmunds","followers_url":"https://api.github.com/users/redmunds/followers","following_url":"https://api.github.com/users/redmunds/following{/other_user}","gists_url":"https://api.github.com/users/redmunds/gists{/gist_id}","starred_url":"https://api.github.com/users/redmunds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redmunds/subscriptions","organizations_url":"https://api.github.com/users/redmunds/orgs","repos_url":"https://api.github.com/users/redmunds/repos","events_url":"https://api.github.com/users/redmunds/events{/privacy}","received_events_url":"https://api.github.com/users/redmunds/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T23:07:13Z","updated_at":"2015-10-20T23:07:13Z","body":"This looks good. Commits should be squashed."}}