{"action":"created","issue":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1901","labels_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1901/labels{/name}","comments_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1901/comments","events_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1901/events","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/1901","id":99008101,"number":1901,"title":"Center document when the panel is resized","user":{"login":"shaoshing","id":118264,"avatar_url":"https://avatars.githubusercontent.com/u/118264?v=3","gravatar_id":"","url":"https://api.github.com/users/shaoshing","html_url":"https://github.com/shaoshing","followers_url":"https://api.github.com/users/shaoshing/followers","following_url":"https://api.github.com/users/shaoshing/following{/other_user}","gists_url":"https://api.github.com/users/shaoshing/gists{/gist_id}","starred_url":"https://api.github.com/users/shaoshing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaoshing/subscriptions","organizations_url":"https://api.github.com/users/shaoshing/orgs","repos_url":"https://api.github.com/users/shaoshing/repos","events_url":"https://api.github.com/users/shaoshing/events{/privacy}","received_events_url":"https://api.github.com/users/shaoshing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/labels/Ready","name":"Ready","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"iwehrman","id":1075154,"avatar_url":"https://avatars.githubusercontent.com/u/1075154?v=3","gravatar_id":"","url":"https://api.github.com/users/iwehrman","html_url":"https://github.com/iwehrman","followers_url":"https://api.github.com/users/iwehrman/followers","following_url":"https://api.github.com/users/iwehrman/following{/other_user}","gists_url":"https://api.github.com/users/iwehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/iwehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwehrman/subscriptions","organizations_url":"https://api.github.com/users/iwehrman/orgs","repos_url":"https://api.github.com/users/iwehrman/repos","events_url":"https://api.github.com/users/iwehrman/events{/privacy}","received_events_url":"https://api.github.com/users/iwehrman/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-08-04T16:31:47Z","updated_at":"2015-08-05T16:30:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/1901","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/1901","diff_url":"https://github.com/adobe-photoshop/spaces-design/pull/1901.diff","patch_url":"https://github.com/adobe-photoshop/spaces-design/pull/1901.patch"},"body":"The previous implementation only center the selected document once after startup, leaves the other documents shifted when opening multiple document. This PR will make sure document is centered when the panel is resize (including initial startup), which is the same behavior in standard PS.\r\n\r\nFix issue: #1830 \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/comments/128060709","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/1901#issuecomment-128060709","issue_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/1901","id":128060709,"user":{"login":"designedbyscience","id":22372,"avatar_url":"https://avatars.githubusercontent.com/u/22372?v=3","gravatar_id":"","url":"https://api.github.com/users/designedbyscience","html_url":"https://github.com/designedbyscience","followers_url":"https://api.github.com/users/designedbyscience/followers","following_url":"https://api.github.com/users/designedbyscience/following{/other_user}","gists_url":"https://api.github.com/users/designedbyscience/gists{/gist_id}","starred_url":"https://api.github.com/users/designedbyscience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designedbyscience/subscriptions","organizations_url":"https://api.github.com/users/designedbyscience/orgs","repos_url":"https://api.github.com/users/designedbyscience/repos","events_url":"https://api.github.com/users/designedbyscience/events{/privacy}","received_events_url":"https://api.github.com/users/designedbyscience/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T16:30:51Z","updated_at":"2015-08-05T16:30:51Z","body":"@shaoshing Behavior is slightly more complicated than that...not sure how critical is it to recenter when zoomed out all the time: (https://www.dropbox.com/s/mksmka3wy87jqr0/zoomed_recentering.mov?dl=0)\r\n\r\nNot sure if this is an MVP thing, but it seems useful to me. I am pestering @placegraphichere for his feedback"}}