{"action":"closed","number":299,"pull_request":{"url":"https://api.github.com/repos/aces/brainbrowser/pulls/299","id":70021567,"html_url":"https://github.com/aces/brainbrowser/pull/299","diff_url":"https://github.com/aces/brainbrowser/pull/299.diff","patch_url":"https://github.com/aces/brainbrowser/pull/299.patch","issue_url":"https://api.github.com/repos/aces/brainbrowser/issues/299","number":299,"state":"closed","locked":false,"title":"Several changes to improve zooming behaviour.","user":{"login":"rdvincent","id":1395526,"avatar_url":"https://avatars.githubusercontent.com/u/1395526?v=3","gravatar_id":"","url":"https://api.github.com/users/rdvincent","html_url":"https://github.com/rdvincent","followers_url":"https://api.github.com/users/rdvincent/followers","following_url":"https://api.github.com/users/rdvincent/following{/other_user}","gists_url":"https://api.github.com/users/rdvincent/gists{/gist_id}","starred_url":"https://api.github.com/users/rdvincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdvincent/subscriptions","organizations_url":"https://api.github.com/users/rdvincent/orgs","repos_url":"https://api.github.com/users/rdvincent/repos","events_url":"https://api.github.com/users/rdvincent/events{/privacy}","received_events_url":"https://api.github.com/users/rdvincent/received_events","type":"User","site_admin":false},"body":"This collects several small changes. One of the main goals is to make the volume viewer more usable with smaller field-of-view images such as mouse brains.\r\n\r\n1. For the volume viewer demo, use the 'r' key to reset the view.\r\n2. When resetting, reset zoom to the computed \"preferred\" or default value.\r\n3. Compute the preferred zoom when the volume is loaded.\r\n4. Draw the cursor with a fixed line width, so that it doesn't get absurdly thick at high zoom levels.\r\n5. Use multiplicative rather than additive calculation when zooming, to improve responsiveness at high zoom levels.","created_at":"2016-05-13T16:16:18Z","updated_at":"2016-05-13T16:25:24Z","closed_at":"2016-05-13T16:25:24Z","merged_at":"2016-05-13T16:25:24Z","merge_commit_sha":"cf79ab1a19726696316f3b2a4c43a05a4014f8c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aces/brainbrowser/pulls/299/commits","review_comments_url":"https://api.github.com/repos/aces/brainbrowser/pulls/299/comments","review_comment_url":"https://api.github.com/repos/aces/brainbrowser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aces/brainbrowser/issues/299/comments","statuses_url":"https://api.github.com/repos/aces/brainbrowser/statuses/4c1e83c7c965ec994e37f61b2217c7fd859950e8","head":{"label":"rdvincent:rdv-zoom","ref":"rdv-zoom","sha":"4c1e83c7c965ec994e37f61b2217c7fd859950e8","user":{"login":"rdvincent","id":1395526,"avatar_url":"https://avatars.githubusercontent.com/u/1395526?v=3","gravatar_id":"","url":"https://api.github.com/users/rdvincent","html_url":"https://github.com/rdvincent","followers_url":"https://api.github.com/users/rdvincent/followers","following_url":"https://api.github.com/users/rdvincent/following{/other_user}","gists_url":"https://api.github.com/users/rdvincent/gists{/gist_id}","starred_url":"https://api.github.com/users/rdvincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdvincent/subscriptions","organizations_url":"https://api.github.com/users/rdvincent/orgs","repos_url":"https://api.github.com/users/rdvincent/repos","events_url":"https://api.github.com/users/rdvincent/events{/privacy}","received_events_url":"https://api.github.com/users/rdvincent/received_events","type":"User","site_admin":false},"repo":{"id":30928001,"name":"brainbrowser","full_name":"rdvincent/brainbrowser","owner":{"login":"rdvincent","id":1395526,"avatar_url":"https://avatars.githubusercontent.com/u/1395526?v=3","gravatar_id":"","url":"https://api.github.com/users/rdvincent","html_url":"https://github.com/rdvincent","followers_url":"https://api.github.com/users/rdvincent/followers","following_url":"https://api.github.com/users/rdvincent/following{/other_user}","gists_url":"https://api.github.com/users/rdvincent/gists{/gist_id}","starred_url":"https://api.github.com/users/rdvincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdvincent/subscriptions","organizations_url":"https://api.github.com/users/rdvincent/orgs","repos_url":"https://api.github.com/users/rdvincent/repos","events_url":"https://api.github.com/users/rdvincent/events{/privacy}","received_events_url":"https://api.github.com/users/rdvincent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdvincent/brainbrowser","description":"Web-based visualization tools for neurological data.","fork":true,"url":"https://api.github.com/repos/rdvincent/brainbrowser","forks_url":"https://api.github.com/repos/rdvincent/brainbrowser/forks","keys_url":"https://api.github.com/repos/rdvincent/brainbrowser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdvincent/brainbrowser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdvincent/brainbrowser/teams","hooks_url":"https://api.github.com/repos/rdvincent/brainbrowser/hooks","issue_events_url":"https://api.github.com/repos/rdvincent/brainbrowser/issues/events{/number}","events_url":"https://api.github.com/repos/rdvincent/brainbrowser/events","assignees_url":"https://api.github.com/repos/rdvincent/brainbrowser/assignees{/user}","branches_url":"https://api.github.com/repos/rdvincent/brainbrowser/branches{/branch}","tags_url":"https://api.github.com/repos/rdvincent/brainbrowser/tags","blobs_url":"https://api.github.com/repos/rdvincent/brainbrowser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdvincent/brainbrowser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdvincent/brainbrowser/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdvincent/brainbrowser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdvincent/brainbrowser/statuses/{sha}","languages_url":"https://api.github.com/repos/rdvincent/brainbrowser/languages","stargazers_url":"https://api.github.com/repos/rdvincent/brainbrowser/stargazers","contributors_url":"https://api.github.com/repos/rdvincent/brainbrowser/contributors","subscribers_url":"https://api.github.com/repos/rdvincent/brainbrowser/subscribers","subscription_url":"https://api.github.com/repos/rdvincent/brainbrowser/subscription","commits_url":"https://api.github.com/repos/rdvincent/brainbrowser/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdvincent/brainbrowser/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdvincent/brainbrowser/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdvincent/brainbrowser/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdvincent/brainbrowser/contents/{+path}","compare_url":"https://api.github.com/repos/rdvincent/brainbrowser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdvincent/brainbrowser/merges","archive_url":"https://api.github.com/repos/rdvincent/brainbrowser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdvincent/brainbrowser/downloads","issues_url":"https://api.github.com/repos/rdvincent/brainbrowser/issues{/number}","pulls_url":"https://api.github.com/repos/rdvincent/brainbrowser/pulls{/number}","milestones_url":"https://api.github.com/repos/rdvincent/brainbrowser/milestones{/number}","notifications_url":"https://api.github.com/repos/rdvincent/brainbrowser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdvincent/brainbrowser/labels{/name}","releases_url":"https://api.github.com/repos/rdvincent/brainbrowser/releases{/id}","deployments_url":"https://api.github.com/repos/rdvincent/brainbrowser/deployments","created_at":"2015-02-17T17:20:40Z","updated_at":"2016-04-04T15:19:26Z","pushed_at":"2016-05-13T16:11:08Z","git_url":"git://github.com/rdvincent/brainbrowser.git","ssh_url":"git@github.com:rdvincent/brainbrowser.git","clone_url":"https://github.com/rdvincent/brainbrowser.git","svn_url":"https://github.com/rdvincent/brainbrowser","homepage":"https://brainbrowser.cbrain.mcgill.ca/","size":154778,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aces:master","ref":"master","sha":"300cac451092ee3d139b9948171d8939f124e00e","user":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"repo":{"id":17673490,"name":"brainbrowser","full_name":"aces/brainbrowser","owner":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aces/brainbrowser","description":"Web-based visualization tools for neurological data.","fork":false,"url":"https://api.github.com/repos/aces/brainbrowser","forks_url":"https://api.github.com/repos/aces/brainbrowser/forks","keys_url":"https://api.github.com/repos/aces/brainbrowser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aces/brainbrowser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aces/brainbrowser/teams","hooks_url":"https://api.github.com/repos/aces/brainbrowser/hooks","issue_events_url":"https://api.github.com/repos/aces/brainbrowser/issues/events{/number}","events_url":"https://api.github.com/repos/aces/brainbrowser/events","assignees_url":"https://api.github.com/repos/aces/brainbrowser/assignees{/user}","branches_url":"https://api.github.com/repos/aces/brainbrowser/branches{/branch}","tags_url":"https://api.github.com/repos/aces/brainbrowser/tags","blobs_url":"https://api.github.com/repos/aces/brainbrowser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aces/brainbrowser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aces/brainbrowser/git/refs{/sha}","trees_url":"https://api.github.com/repos/aces/brainbrowser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aces/brainbrowser/statuses/{sha}","languages_url":"https://api.github.com/repos/aces/brainbrowser/languages","stargazers_url":"https://api.github.com/repos/aces/brainbrowser/stargazers","contributors_url":"https://api.github.com/repos/aces/brainbrowser/contributors","subscribers_url":"https://api.github.com/repos/aces/brainbrowser/subscribers","subscription_url":"https://api.github.com/repos/aces/brainbrowser/subscription","commits_url":"https://api.github.com/repos/aces/brainbrowser/commits{/sha}","git_commits_url":"https://api.github.com/repos/aces/brainbrowser/git/commits{/sha}","comments_url":"https://api.github.com/repos/aces/brainbrowser/comments{/number}","issue_comment_url":"https://api.github.com/repos/aces/brainbrowser/issues/comments{/number}","contents_url":"https://api.github.com/repos/aces/brainbrowser/contents/{+path}","compare_url":"https://api.github.com/repos/aces/brainbrowser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aces/brainbrowser/merges","archive_url":"https://api.github.com/repos/aces/brainbrowser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aces/brainbrowser/downloads","issues_url":"https://api.github.com/repos/aces/brainbrowser/issues{/number}","pulls_url":"https://api.github.com/repos/aces/brainbrowser/pulls{/number}","milestones_url":"https://api.github.com/repos/aces/brainbrowser/milestones{/number}","notifications_url":"https://api.github.com/repos/aces/brainbrowser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aces/brainbrowser/labels{/name}","releases_url":"https://api.github.com/repos/aces/brainbrowser/releases{/id}","deployments_url":"https://api.github.com/repos/aces/brainbrowser/deployments","created_at":"2014-03-12T16:10:51Z","updated_at":"2016-05-09T16:01:49Z","pushed_at":"2016-05-13T16:25:24Z","git_url":"git://github.com/aces/brainbrowser.git","ssh_url":"git@github.com:aces/brainbrowser.git","clone_url":"https://github.com/aces/brainbrowser.git","svn_url":"https://github.com/aces/brainbrowser","homepage":"https://brainbrowser.cbrain.mcgill.ca/","size":177969,"stargazers_count":104,"watchers_count":104,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":20,"forks":48,"open_issues":20,"watchers":104,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aces/brainbrowser/pulls/299"},"html":{"href":"https://github.com/aces/brainbrowser/pull/299"},"issue":{"href":"https://api.github.com/repos/aces/brainbrowser/issues/299"},"comments":{"href":"https://api.github.com/repos/aces/brainbrowser/issues/299/comments"},"review_comments":{"href":"https://api.github.com/repos/aces/brainbrowser/pulls/299/comments"},"review_comment":{"href":"https://api.github.com/repos/aces/brainbrowser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aces/brainbrowser/pulls/299/commits"},"statuses":{"href":"https://api.github.com/repos/aces/brainbrowser/statuses/4c1e83c7c965ec994e37f61b2217c7fd859950e8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"natacha-beck","id":777590,"avatar_url":"https://avatars.githubusercontent.com/u/777590?v=3","gravatar_id":"","url":"https://api.github.com/users/natacha-beck","html_url":"https://github.com/natacha-beck","followers_url":"https://api.github.com/users/natacha-beck/followers","following_url":"https://api.github.com/users/natacha-beck/following{/other_user}","gists_url":"https://api.github.com/users/natacha-beck/gists{/gist_id}","starred_url":"https://api.github.com/users/natacha-beck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natacha-beck/subscriptions","organizations_url":"https://api.github.com/users/natacha-beck/orgs","repos_url":"https://api.github.com/users/natacha-beck/repos","events_url":"https://api.github.com/users/natacha-beck/events{/privacy}","received_events_url":"https://api.github.com/users/natacha-beck/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":33,"deletions":6,"changed_files":4}}