{"action":"closed","number":304,"pull_request":{"url":"https://api.github.com/repos/atom-minimap/minimap/pulls/304","id":32164564,"html_url":"https://github.com/atom-minimap/minimap/pull/304","diff_url":"https://github.com/atom-minimap/minimap/pull/304.diff","patch_url":"https://github.com/atom-minimap/minimap/pull/304.patch","issue_url":"https://api.github.com/repos/atom-minimap/minimap/issues/304","number":304,"state":"closed","locked":false,"title":"Implemented middle click to jump-to-location","user":{"login":"ChaoticMind","id":395384,"avatar_url":"https://avatars.githubusercontent.com/u/395384?v=3","gravatar_id":"","url":"https://api.github.com/users/ChaoticMind","html_url":"https://github.com/ChaoticMind","followers_url":"https://api.github.com/users/ChaoticMind/followers","following_url":"https://api.github.com/users/ChaoticMind/following{/other_user}","gists_url":"https://api.github.com/users/ChaoticMind/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaoticMind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaoticMind/subscriptions","organizations_url":"https://api.github.com/users/ChaoticMind/orgs","repos_url":"https://api.github.com/users/ChaoticMind/repos","events_url":"https://api.github.com/users/ChaoticMind/events{/privacy}","received_events_url":"https://api.github.com/users/ChaoticMind/received_events","type":"User","site_admin":false},"body":"Prerequisite for #290. \r\n\r\nThis only covers the middle click equivalent to clicking on the minimap (point 1 in the original comment of #290). Dragging is not yet implemented. \r\n\r\nIn the current implementation, middle clicking (even on this \"visibleArea\") centers the visible area to that destination. This may or may not prove awkward after dragging is implemented. I thought it would be more consistent this way. However, it looks like most scroll bar implementations behave the same way if they're left clicked or middle clicked (if started dragging from the bar itself), so I may revisit this while implementing dragging.","created_at":"2015-03-28T13:36:24Z","updated_at":"2015-04-30T12:19:08Z","closed_at":"2015-04-30T12:19:08Z","merged_at":"2015-04-30T12:19:08Z","merge_commit_sha":"d9a42ab200443af13e9677d360664f3db0735bdb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom-minimap/minimap/pulls/304/commits","review_comments_url":"https://api.github.com/repos/atom-minimap/minimap/pulls/304/comments","review_comment_url":"https://api.github.com/repos/atom-minimap/minimap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom-minimap/minimap/issues/304/comments","statuses_url":"https://api.github.com/repos/atom-minimap/minimap/statuses/085a4e9cc65b01028a37b5f28ab6e5565ff3e99b","head":{"label":"ChaoticMind:middle_click","ref":"middle_click","sha":"085a4e9cc65b01028a37b5f28ab6e5565ff3e99b","user":{"login":"ChaoticMind","id":395384,"avatar_url":"https://avatars.githubusercontent.com/u/395384?v=3","gravatar_id":"","url":"https://api.github.com/users/ChaoticMind","html_url":"https://github.com/ChaoticMind","followers_url":"https://api.github.com/users/ChaoticMind/followers","following_url":"https://api.github.com/users/ChaoticMind/following{/other_user}","gists_url":"https://api.github.com/users/ChaoticMind/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaoticMind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaoticMind/subscriptions","organizations_url":"https://api.github.com/users/ChaoticMind/orgs","repos_url":"https://api.github.com/users/ChaoticMind/repos","events_url":"https://api.github.com/users/ChaoticMind/events{/privacy}","received_events_url":"https://api.github.com/users/ChaoticMind/received_events","type":"User","site_admin":false},"repo":{"id":32511450,"name":"minimap","full_name":"ChaoticMind/minimap","owner":{"login":"ChaoticMind","id":395384,"avatar_url":"https://avatars.githubusercontent.com/u/395384?v=3","gravatar_id":"","url":"https://api.github.com/users/ChaoticMind","html_url":"https://github.com/ChaoticMind","followers_url":"https://api.github.com/users/ChaoticMind/followers","following_url":"https://api.github.com/users/ChaoticMind/following{/other_user}","gists_url":"https://api.github.com/users/ChaoticMind/gists{/gist_id}","starred_url":"https://api.github.com/users/ChaoticMind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChaoticMind/subscriptions","organizations_url":"https://api.github.com/users/ChaoticMind/orgs","repos_url":"https://api.github.com/users/ChaoticMind/repos","events_url":"https://api.github.com/users/ChaoticMind/events{/privacy}","received_events_url":"https://api.github.com/users/ChaoticMind/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChaoticMind/minimap","description":"A preview of the full source code.","fork":true,"url":"https://api.github.com/repos/ChaoticMind/minimap","forks_url":"https://api.github.com/repos/ChaoticMind/minimap/forks","keys_url":"https://api.github.com/repos/ChaoticMind/minimap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChaoticMind/minimap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChaoticMind/minimap/teams","hooks_url":"https://api.github.com/repos/ChaoticMind/minimap/hooks","issue_events_url":"https://api.github.com/repos/ChaoticMind/minimap/issues/events{/number}","events_url":"https://api.github.com/repos/ChaoticMind/minimap/events","assignees_url":"https://api.github.com/repos/ChaoticMind/minimap/assignees{/user}","branches_url":"https://api.github.com/repos/ChaoticMind/minimap/branches{/branch}","tags_url":"https://api.github.com/repos/ChaoticMind/minimap/tags","blobs_url":"https://api.github.com/repos/ChaoticMind/minimap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChaoticMind/minimap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChaoticMind/minimap/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChaoticMind/minimap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChaoticMind/minimap/statuses/{sha}","languages_url":"https://api.github.com/repos/ChaoticMind/minimap/languages","stargazers_url":"https://api.github.com/repos/ChaoticMind/minimap/stargazers","contributors_url":"https://api.github.com/repos/ChaoticMind/minimap/contributors","subscribers_url":"https://api.github.com/repos/ChaoticMind/minimap/subscribers","subscription_url":"https://api.github.com/repos/ChaoticMind/minimap/subscription","commits_url":"https://api.github.com/repos/ChaoticMind/minimap/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChaoticMind/minimap/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChaoticMind/minimap/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChaoticMind/minimap/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChaoticMind/minimap/contents/{+path}","compare_url":"https://api.github.com/repos/ChaoticMind/minimap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChaoticMind/minimap/merges","archive_url":"https://api.github.com/repos/ChaoticMind/minimap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChaoticMind/minimap/downloads","issues_url":"https://api.github.com/repos/ChaoticMind/minimap/issues{/number}","pulls_url":"https://api.github.com/repos/ChaoticMind/minimap/pulls{/number}","milestones_url":"https://api.github.com/repos/ChaoticMind/minimap/milestones{/number}","notifications_url":"https://api.github.com/repos/ChaoticMind/minimap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChaoticMind/minimap/labels{/name}","releases_url":"https://api.github.com/repos/ChaoticMind/minimap/releases{/id}","created_at":"2015-03-19T09:12:44Z","updated_at":"2015-04-09T06:08:26Z","pushed_at":"2015-04-10T13:10:27Z","git_url":"git://github.com/ChaoticMind/minimap.git","ssh_url":"git@github.com:ChaoticMind/minimap.git","clone_url":"https://github.com/ChaoticMind/minimap.git","svn_url":"https://github.com/ChaoticMind/minimap","homepage":"https://atom.io/packages/minimap","size":2479,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atom-minimap:master","ref":"master","sha":"f3e323939bbfc5c566ed32524d55729a1746d5c9","user":{"login":"atom-minimap","id":7209979,"avatar_url":"https://avatars.githubusercontent.com/u/7209979?v=3","gravatar_id":"","url":"https://api.github.com/users/atom-minimap","html_url":"https://github.com/atom-minimap","followers_url":"https://api.github.com/users/atom-minimap/followers","following_url":"https://api.github.com/users/atom-minimap/following{/other_user}","gists_url":"https://api.github.com/users/atom-minimap/gists{/gist_id}","starred_url":"https://api.github.com/users/atom-minimap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom-minimap/subscriptions","organizations_url":"https://api.github.com/users/atom-minimap/orgs","repos_url":"https://api.github.com/users/atom-minimap/repos","events_url":"https://api.github.com/users/atom-minimap/events{/privacy}","received_events_url":"https://api.github.com/users/atom-minimap/received_events","type":"Organization","site_admin":false},"repo":{"id":17548747,"name":"minimap","full_name":"atom-minimap/minimap","owner":{"login":"atom-minimap","id":7209979,"avatar_url":"https://avatars.githubusercontent.com/u/7209979?v=3","gravatar_id":"","url":"https://api.github.com/users/atom-minimap","html_url":"https://github.com/atom-minimap","followers_url":"https://api.github.com/users/atom-minimap/followers","following_url":"https://api.github.com/users/atom-minimap/following{/other_user}","gists_url":"https://api.github.com/users/atom-minimap/gists{/gist_id}","starred_url":"https://api.github.com/users/atom-minimap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom-minimap/subscriptions","organizations_url":"https://api.github.com/users/atom-minimap/orgs","repos_url":"https://api.github.com/users/atom-minimap/repos","events_url":"https://api.github.com/users/atom-minimap/events{/privacy}","received_events_url":"https://api.github.com/users/atom-minimap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom-minimap/minimap","description":"A preview of the full source code.","fork":false,"url":"https://api.github.com/repos/atom-minimap/minimap","forks_url":"https://api.github.com/repos/atom-minimap/minimap/forks","keys_url":"https://api.github.com/repos/atom-minimap/minimap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom-minimap/minimap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom-minimap/minimap/teams","hooks_url":"https://api.github.com/repos/atom-minimap/minimap/hooks","issue_events_url":"https://api.github.com/repos/atom-minimap/minimap/issues/events{/number}","events_url":"https://api.github.com/repos/atom-minimap/minimap/events","assignees_url":"https://api.github.com/repos/atom-minimap/minimap/assignees{/user}","branches_url":"https://api.github.com/repos/atom-minimap/minimap/branches{/branch}","tags_url":"https://api.github.com/repos/atom-minimap/minimap/tags","blobs_url":"https://api.github.com/repos/atom-minimap/minimap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom-minimap/minimap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom-minimap/minimap/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom-minimap/minimap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom-minimap/minimap/statuses/{sha}","languages_url":"https://api.github.com/repos/atom-minimap/minimap/languages","stargazers_url":"https://api.github.com/repos/atom-minimap/minimap/stargazers","contributors_url":"https://api.github.com/repos/atom-minimap/minimap/contributors","subscribers_url":"https://api.github.com/repos/atom-minimap/minimap/subscribers","subscription_url":"https://api.github.com/repos/atom-minimap/minimap/subscription","commits_url":"https://api.github.com/repos/atom-minimap/minimap/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom-minimap/minimap/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom-minimap/minimap/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom-minimap/minimap/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom-minimap/minimap/contents/{+path}","compare_url":"https://api.github.com/repos/atom-minimap/minimap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom-minimap/minimap/merges","archive_url":"https://api.github.com/repos/atom-minimap/minimap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom-minimap/minimap/downloads","issues_url":"https://api.github.com/repos/atom-minimap/minimap/issues{/number}","pulls_url":"https://api.github.com/repos/atom-minimap/minimap/pulls{/number}","milestones_url":"https://api.github.com/repos/atom-minimap/minimap/milestones{/number}","notifications_url":"https://api.github.com/repos/atom-minimap/minimap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom-minimap/minimap/labels{/name}","releases_url":"https://api.github.com/repos/atom-minimap/minimap/releases{/id}","created_at":"2014-03-08T19:05:29Z","updated_at":"2015-04-29T07:25:30Z","pushed_at":"2015-04-30T12:19:08Z","git_url":"git://github.com/atom-minimap/minimap.git","ssh_url":"git@github.com:atom-minimap/minimap.git","clone_url":"https://github.com/atom-minimap/minimap.git","svn_url":"https://github.com/atom-minimap/minimap","homepage":"https://atom.io/packages/minimap","size":4895,"stargazers_count":120,"watchers_count":120,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":9,"forks":26,"open_issues":9,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom-minimap/minimap/pulls/304"},"html":{"href":"https://github.com/atom-minimap/minimap/pull/304"},"issue":{"href":"https://api.github.com/repos/atom-minimap/minimap/issues/304"},"comments":{"href":"https://api.github.com/repos/atom-minimap/minimap/issues/304/comments"},"review_comments":{"href":"https://api.github.com/repos/atom-minimap/minimap/pulls/304/comments"},"review_comment":{"href":"https://api.github.com/repos/atom-minimap/minimap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom-minimap/minimap/pulls/304/commits"},"statuses":{"href":"https://api.github.com/repos/atom-minimap/minimap/statuses/085a4e9cc65b01028a37b5f28ab6e5565ff3e99b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"abe33","id":247140,"avatar_url":"https://avatars.githubusercontent.com/u/247140?v=3","gravatar_id":"","url":"https://api.github.com/users/abe33","html_url":"https://github.com/abe33","followers_url":"https://api.github.com/users/abe33/followers","following_url":"https://api.github.com/users/abe33/following{/other_user}","gists_url":"https://api.github.com/users/abe33/gists{/gist_id}","starred_url":"https://api.github.com/users/abe33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abe33/subscriptions","organizations_url":"https://api.github.com/users/abe33/orgs","repos_url":"https://api.github.com/users/abe33/repos","events_url":"https://api.github.com/users/abe33/events{/privacy}","received_events_url":"https://api.github.com/users/abe33/received_events","type":"User","site_admin":false},"comments":12,"review_comments":4,"commits":3,"additions":100,"deletions":13,"changed_files":3}}