{"action":"closed","number":270,"pull_request":{"url":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/270","id":184756302,"html_url":"https://github.com/cornerstonejs/cornerstone/pull/270","diff_url":"https://github.com/cornerstonejs/cornerstone/pull/270.diff","patch_url":"https://github.com/cornerstonejs/cornerstone/pull/270.patch","issue_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/270","number":270,"state":"closed","locked":false,"title":"Update full canvas in case of colorSpace change","user":{"login":"galelis","id":2378326,"avatar_url":"https://avatars3.githubusercontent.com/u/2378326?v=4","gravatar_id":"","url":"https://api.github.com/users/galelis","html_url":"https://github.com/galelis","followers_url":"https://api.github.com/users/galelis/followers","following_url":"https://api.github.com/users/galelis/following{/other_user}","gists_url":"https://api.github.com/users/galelis/gists{/gist_id}","starred_url":"https://api.github.com/users/galelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galelis/subscriptions","organizations_url":"https://api.github.com/users/galelis/orgs","repos_url":"https://api.github.com/users/galelis/repos","events_url":"https://api.github.com/users/galelis/events{/privacy}","received_events_url":"https://api.github.com/users/galelis/received_events","type":"User","site_admin":false},"body":"## Issue\r\n- Loading an image, depending in the colorspace we do not update all canvas, in order to improve performance. \r\n- Once we load 2 different colorspace images in sequence, we need to proper set the canvas default, and we were not doing that. \r\n\r\n## Solution\r\n- Expose isColor from last rendered image to know if the colorspace has changed\r\n- Once we update the canvas, we check if the colorspace changed and proper deal with canvas, setting the values as default if needed.\r\n\r\n","created_at":"2018-04-28T01:27:58Z","updated_at":"2018-05-02T15:15:28Z","closed_at":"2018-05-02T15:15:27Z","merged_at":"2018-05-02T15:15:27Z","merge_commit_sha":"9763fcf97ecb4cc88a970bac908c8d0cc8921f76","assignee":{"login":"swederik","id":607793,"avatar_url":"https://avatars3.githubusercontent.com/u/607793?v=4","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"assignees":[{"login":"swederik","id":607793,"avatar_url":"https://avatars3.githubusercontent.com/u/607793?v=4","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/270/commits","review_comments_url":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/270/comments","review_comment_url":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/270/comments","statuses_url":"https://api.github.com/repos/cornerstonejs/cornerstone/statuses/a0d3c9e8015447195eb972bfde805dc7a1593351","head":{"label":"cornerstonejs:ohifViewer-issue151","ref":"ohifViewer-issue151","sha":"a0d3c9e8015447195eb972bfde805dc7a1593351","user":{"login":"cornerstonejs","id":34072764,"avatar_url":"https://avatars1.githubusercontent.com/u/34072764?v=4","gravatar_id":"","url":"https://api.github.com/users/cornerstonejs","html_url":"https://github.com/cornerstonejs","followers_url":"https://api.github.com/users/cornerstonejs/followers","following_url":"https://api.github.com/users/cornerstonejs/following{/other_user}","gists_url":"https://api.github.com/users/cornerstonejs/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerstonejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerstonejs/subscriptions","organizations_url":"https://api.github.com/users/cornerstonejs/orgs","repos_url":"https://api.github.com/users/cornerstonejs/repos","events_url":"https://api.github.com/users/cornerstonejs/events{/privacy}","received_events_url":"https://api.github.com/users/cornerstonejs/received_events","type":"Organization","site_admin":false},"repo":{"id":17848424,"name":"cornerstone","full_name":"cornerstonejs/cornerstone","owner":{"login":"cornerstonejs","id":34072764,"avatar_url":"https://avatars1.githubusercontent.com/u/34072764?v=4","gravatar_id":"","url":"https://api.github.com/users/cornerstonejs","html_url":"https://github.com/cornerstonejs","followers_url":"https://api.github.com/users/cornerstonejs/followers","following_url":"https://api.github.com/users/cornerstonejs/following{/other_user}","gists_url":"https://api.github.com/users/cornerstonejs/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerstonejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerstonejs/subscriptions","organizations_url":"https://api.github.com/users/cornerstonejs/orgs","repos_url":"https://api.github.com/users/cornerstonejs/repos","events_url":"https://api.github.com/users/cornerstonejs/events{/privacy}","received_events_url":"https://api.github.com/users/cornerstonejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cornerstonejs/cornerstone","description":"JavaScript library to display interactive medical images including but not limited to DICOM","fork":false,"url":"https://api.github.com/repos/cornerstonejs/cornerstone","forks_url":"https://api.github.com/repos/cornerstonejs/cornerstone/forks","keys_url":"https://api.github.com/repos/cornerstonejs/cornerstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cornerstonejs/cornerstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cornerstonejs/cornerstone/teams","hooks_url":"https://api.github.com/repos/cornerstonejs/cornerstone/hooks","issue_events_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/events{/number}","events_url":"https://api.github.com/repos/cornerstonejs/cornerstone/events","assignees_url":"https://api.github.com/repos/cornerstonejs/cornerstone/assignees{/user}","branches_url":"https://api.github.com/repos/cornerstonejs/cornerstone/branches{/branch}","tags_url":"https://api.github.com/repos/cornerstonejs/cornerstone/tags","blobs_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cornerstonejs/cornerstone/statuses/{sha}","languages_url":"https://api.github.com/repos/cornerstonejs/cornerstone/languages","stargazers_url":"https://api.github.com/repos/cornerstonejs/cornerstone/stargazers","contributors_url":"https://api.github.com/repos/cornerstonejs/cornerstone/contributors","subscribers_url":"https://api.github.com/repos/cornerstonejs/cornerstone/subscribers","subscription_url":"https://api.github.com/repos/cornerstonejs/cornerstone/subscription","commits_url":"https://api.github.com/repos/cornerstonejs/cornerstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/cornerstonejs/cornerstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/cornerstonejs/cornerstone/contents/{+path}","compare_url":"https://api.github.com/repos/cornerstonejs/cornerstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cornerstonejs/cornerstone/merges","archive_url":"https://api.github.com/repos/cornerstonejs/cornerstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cornerstonejs/cornerstone/downloads","issues_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues{/number}","pulls_url":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls{/number}","milestones_url":"https://api.github.com/repos/cornerstonejs/cornerstone/milestones{/number}","notifications_url":"https://api.github.com/repos/cornerstonejs/cornerstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cornerstonejs/cornerstone/labels{/name}","releases_url":"https://api.github.com/repos/cornerstonejs/cornerstone/releases{/id}","deployments_url":"https://api.github.com/repos/cornerstonejs/cornerstone/deployments","created_at":"2014-03-18T00:25:35Z","updated_at":"2018-05-02T15:03:05Z","pushed_at":"2018-05-02T15:15:27Z","git_url":"git://github.com/cornerstonejs/cornerstone.git","ssh_url":"git@github.com:cornerstonejs/cornerstone.git","clone_url":"https://github.com/cornerstonejs/cornerstone.git","svn_url":"https://github.com/cornerstonejs/cornerstone","homepage":"https://docs.cornerstonejs.org/","size":8973,"stargazers_count":711,"watchers_count":711,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":273,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":273,"open_issues":30,"watchers":711,"default_branch":"master"}},"base":{"label":"cornerstonejs:master","ref":"master","sha":"b65a94fbda9c35c020040c1b2c83298ac78f0935","user":{"login":"cornerstonejs","id":34072764,"avatar_url":"https://avatars1.githubusercontent.com/u/34072764?v=4","gravatar_id":"","url":"https://api.github.com/users/cornerstonejs","html_url":"https://github.com/cornerstonejs","followers_url":"https://api.github.com/users/cornerstonejs/followers","following_url":"https://api.github.com/users/cornerstonejs/following{/other_user}","gists_url":"https://api.github.com/users/cornerstonejs/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerstonejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerstonejs/subscriptions","organizations_url":"https://api.github.com/users/cornerstonejs/orgs","repos_url":"https://api.github.com/users/cornerstonejs/repos","events_url":"https://api.github.com/users/cornerstonejs/events{/privacy}","received_events_url":"https://api.github.com/users/cornerstonejs/received_events","type":"Organization","site_admin":false},"repo":{"id":17848424,"name":"cornerstone","full_name":"cornerstonejs/cornerstone","owner":{"login":"cornerstonejs","id":34072764,"avatar_url":"https://avatars1.githubusercontent.com/u/34072764?v=4","gravatar_id":"","url":"https://api.github.com/users/cornerstonejs","html_url":"https://github.com/cornerstonejs","followers_url":"https://api.github.com/users/cornerstonejs/followers","following_url":"https://api.github.com/users/cornerstonejs/following{/other_user}","gists_url":"https://api.github.com/users/cornerstonejs/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerstonejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerstonejs/subscriptions","organizations_url":"https://api.github.com/users/cornerstonejs/orgs","repos_url":"https://api.github.com/users/cornerstonejs/repos","events_url":"https://api.github.com/users/cornerstonejs/events{/privacy}","received_events_url":"https://api.github.com/users/cornerstonejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cornerstonejs/cornerstone","description":"JavaScript library to display interactive medical images including but not limited to DICOM","fork":false,"url":"https://api.github.com/repos/cornerstonejs/cornerstone","forks_url":"https://api.github.com/repos/cornerstonejs/cornerstone/forks","keys_url":"https://api.github.com/repos/cornerstonejs/cornerstone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cornerstonejs/cornerstone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cornerstonejs/cornerstone/teams","hooks_url":"https://api.github.com/repos/cornerstonejs/cornerstone/hooks","issue_events_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/events{/number}","events_url":"https://api.github.com/repos/cornerstonejs/cornerstone/events","assignees_url":"https://api.github.com/repos/cornerstonejs/cornerstone/assignees{/user}","branches_url":"https://api.github.com/repos/cornerstonejs/cornerstone/branches{/branch}","tags_url":"https://api.github.com/repos/cornerstonejs/cornerstone/tags","blobs_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/refs{/sha}","trees_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cornerstonejs/cornerstone/statuses/{sha}","languages_url":"https://api.github.com/repos/cornerstonejs/cornerstone/languages","stargazers_url":"https://api.github.com/repos/cornerstonejs/cornerstone/stargazers","contributors_url":"https://api.github.com/repos/cornerstonejs/cornerstone/contributors","subscribers_url":"https://api.github.com/repos/cornerstonejs/cornerstone/subscribers","subscription_url":"https://api.github.com/repos/cornerstonejs/cornerstone/subscription","commits_url":"https://api.github.com/repos/cornerstonejs/cornerstone/commits{/sha}","git_commits_url":"https://api.github.com/repos/cornerstonejs/cornerstone/git/commits{/sha}","comments_url":"https://api.github.com/repos/cornerstonejs/cornerstone/comments{/number}","issue_comment_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/comments{/number}","contents_url":"https://api.github.com/repos/cornerstonejs/cornerstone/contents/{+path}","compare_url":"https://api.github.com/repos/cornerstonejs/cornerstone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cornerstonejs/cornerstone/merges","archive_url":"https://api.github.com/repos/cornerstonejs/cornerstone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cornerstonejs/cornerstone/downloads","issues_url":"https://api.github.com/repos/cornerstonejs/cornerstone/issues{/number}","pulls_url":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls{/number}","milestones_url":"https://api.github.com/repos/cornerstonejs/cornerstone/milestones{/number}","notifications_url":"https://api.github.com/repos/cornerstonejs/cornerstone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cornerstonejs/cornerstone/labels{/name}","releases_url":"https://api.github.com/repos/cornerstonejs/cornerstone/releases{/id}","deployments_url":"https://api.github.com/repos/cornerstonejs/cornerstone/deployments","created_at":"2014-03-18T00:25:35Z","updated_at":"2018-05-02T15:03:05Z","pushed_at":"2018-05-02T15:15:27Z","git_url":"git://github.com/cornerstonejs/cornerstone.git","ssh_url":"git@github.com:cornerstonejs/cornerstone.git","clone_url":"https://github.com/cornerstonejs/cornerstone.git","svn_url":"https://github.com/cornerstonejs/cornerstone","homepage":"https://docs.cornerstonejs.org/","size":8973,"stargazers_count":711,"watchers_count":711,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":273,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":273,"open_issues":30,"watchers":711,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/270"},"html":{"href":"https://github.com/cornerstonejs/cornerstone/pull/270"},"issue":{"href":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/270"},"comments":{"href":"https://api.github.com/repos/cornerstonejs/cornerstone/issues/270/comments"},"review_comments":{"href":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/270/comments"},"review_comment":{"href":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cornerstonejs/cornerstone/pulls/270/commits"},"statuses":{"href":"https://api.github.com/repos/cornerstonejs/cornerstone/statuses/a0d3c9e8015447195eb972bfde805dc7a1593351"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"swederik","id":607793,"avatar_url":"https://avatars3.githubusercontent.com/u/607793?v=4","gravatar_id":"","url":"https://api.github.com/users/swederik","html_url":"https://github.com/swederik","followers_url":"https://api.github.com/users/swederik/followers","following_url":"https://api.github.com/users/swederik/following{/other_user}","gists_url":"https://api.github.com/users/swederik/gists{/gist_id}","starred_url":"https://api.github.com/users/swederik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swederik/subscriptions","organizations_url":"https://api.github.com/users/swederik/orgs","repos_url":"https://api.github.com/users/swederik/repos","events_url":"https://api.github.com/users/swederik/events{/privacy}","received_events_url":"https://api.github.com/users/swederik/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"swederik"}}