{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/44823968","id":44823968,"diff_hunk":"@@ -76,8 +76,29 @@ public void SetTooltip(string tooltip)\n \t\t\t\ttooltipContainer.Value.RemoveTooltip();\n \t\t}\n \n+\t\tvoid Zoom(int amount)\n+\t\t{\n+\t\t\tfloat[] zoomSteps = worldRenderer.Viewport.AvailableZoomSteps;","path":"OpenRA.Mods.Common/Widgets/EditorViewportControllerWidget.cs","position":6,"original_position":6,"commit_id":"8e7e7c01b4690e45878722a5bdf457fa056ff082","original_commit_id":"8e7e7c01b4690e45878722a5bdf457fa056ff082","user":{"login":"pchote","id":167819,"avatar_url":"https://avatars.githubusercontent.com/u/167819?v=3","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"body":"`var` instead of explicit types please.","created_at":"2015-11-13T19:34:18Z","updated_at":"2015-11-13T19:34:18Z","html_url":"https://github.com/OpenRA/OpenRA/pull/9906#discussion_r44823968","pull_request_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906","_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/44823968"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/9906#discussion_r44823968"},"pull_request":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906","id":49941848,"html_url":"https://github.com/OpenRA/OpenRA/pull/9906","diff_url":"https://github.com/OpenRA/OpenRA/pull/9906.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/9906.patch","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/9906","number":9906,"state":"open","locked":false,"title":"Added the possibility to zoom the map","user":{"login":"Sapena","id":2463962,"avatar_url":"https://avatars.githubusercontent.com/u/2463962?v=3","gravatar_id":"","url":"https://api.github.com/users/Sapena","html_url":"https://github.com/Sapena","followers_url":"https://api.github.com/users/Sapena/followers","following_url":"https://api.github.com/users/Sapena/following{/other_user}","gists_url":"https://api.github.com/users/Sapena/gists{/gist_id}","starred_url":"https://api.github.com/users/Sapena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sapena/subscriptions","organizations_url":"https://api.github.com/users/Sapena/orgs","repos_url":"https://api.github.com/users/Sapena/repos","events_url":"https://api.github.com/users/Sapena/events{/privacy}","received_events_url":"https://api.github.com/users/Sapena/received_events","type":"User","site_admin":false},"body":"Alt Key + Mouse Wheel to Zoom\r\nAll zoom levels are available in the Editor\r\nIn regular games only zooming in is allowed, the other zoom levels are\r\nunlocked when the game is finished","created_at":"2015-11-06T11:14:39Z","updated_at":"2015-11-13T19:34:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8be18946debeb8ccb5e9b21056a8938ad4947b7e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906/commits","review_comments_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906/comments","review_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/9906/comments","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/8e7e7c01b4690e45878722a5bdf457fa056ff082","head":{"label":"Sapena:zoom_mouse_wheel","ref":"zoom_mouse_wheel","sha":"8e7e7c01b4690e45878722a5bdf457fa056ff082","user":{"login":"Sapena","id":2463962,"avatar_url":"https://avatars.githubusercontent.com/u/2463962?v=3","gravatar_id":"","url":"https://api.github.com/users/Sapena","html_url":"https://github.com/Sapena","followers_url":"https://api.github.com/users/Sapena/followers","following_url":"https://api.github.com/users/Sapena/following{/other_user}","gists_url":"https://api.github.com/users/Sapena/gists{/gist_id}","starred_url":"https://api.github.com/users/Sapena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sapena/subscriptions","organizations_url":"https://api.github.com/users/Sapena/orgs","repos_url":"https://api.github.com/users/Sapena/repos","events_url":"https://api.github.com/users/Sapena/events{/privacy}","received_events_url":"https://api.github.com/users/Sapena/received_events","type":"User","site_admin":false},"repo":{"id":44411703,"name":"OpenRA","full_name":"Sapena/OpenRA","owner":{"login":"Sapena","id":2463962,"avatar_url":"https://avatars.githubusercontent.com/u/2463962?v=3","gravatar_id":"","url":"https://api.github.com/users/Sapena","html_url":"https://github.com/Sapena","followers_url":"https://api.github.com/users/Sapena/followers","following_url":"https://api.github.com/users/Sapena/following{/other_user}","gists_url":"https://api.github.com/users/Sapena/gists{/gist_id}","starred_url":"https://api.github.com/users/Sapena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sapena/subscriptions","organizations_url":"https://api.github.com/users/Sapena/orgs","repos_url":"https://api.github.com/users/Sapena/repos","events_url":"https://api.github.com/users/Sapena/events{/privacy}","received_events_url":"https://api.github.com/users/Sapena/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sapena/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":true,"url":"https://api.github.com/repos/Sapena/OpenRA","forks_url":"https://api.github.com/repos/Sapena/OpenRA/forks","keys_url":"https://api.github.com/repos/Sapena/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sapena/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sapena/OpenRA/teams","hooks_url":"https://api.github.com/repos/Sapena/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/Sapena/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/Sapena/OpenRA/events","assignees_url":"https://api.github.com/repos/Sapena/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/Sapena/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/Sapena/OpenRA/tags","blobs_url":"https://api.github.com/repos/Sapena/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sapena/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sapena/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sapena/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sapena/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/Sapena/OpenRA/languages","stargazers_url":"https://api.github.com/repos/Sapena/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/Sapena/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/Sapena/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/Sapena/OpenRA/subscription","commits_url":"https://api.github.com/repos/Sapena/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sapena/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sapena/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sapena/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sapena/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/Sapena/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sapena/OpenRA/merges","archive_url":"https://api.github.com/repos/Sapena/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sapena/OpenRA/downloads","issues_url":"https://api.github.com/repos/Sapena/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/Sapena/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/Sapena/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/Sapena/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sapena/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/Sapena/OpenRA/releases{/id}","created_at":"2015-10-16T21:33:30Z","updated_at":"2015-10-16T21:33:43Z","pushed_at":"2015-11-13T07:57:00Z","git_url":"git://github.com/Sapena/OpenRA.git","ssh_url":"git@github.com:Sapena/OpenRA.git","clone_url":"https://github.com/Sapena/OpenRA.git","svn_url":"https://github.com/Sapena/OpenRA","homepage":"http://www.openra.net","size":96095,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"bleed"}},"base":{"label":"OpenRA:bleed","ref":"bleed","sha":"e609abf44569e69a6717b7712a9741d81abe2154","user":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"repo":{"id":959908,"name":"OpenRA","full_name":"OpenRA/OpenRA","owner":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRA/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":false,"url":"https://api.github.com/repos/OpenRA/OpenRA","forks_url":"https://api.github.com/repos/OpenRA/OpenRA/forks","keys_url":"https://api.github.com/repos/OpenRA/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRA/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRA/OpenRA/teams","hooks_url":"https://api.github.com/repos/OpenRA/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRA/OpenRA/events","assignees_url":"https://api.github.com/repos/OpenRA/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRA/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRA/OpenRA/tags","blobs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRA/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRA/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRA/OpenRA/languages","stargazers_url":"https://api.github.com/repos/OpenRA/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/OpenRA/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/OpenRA/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/OpenRA/OpenRA/subscription","commits_url":"https://api.github.com/repos/OpenRA/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRA/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRA/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRA/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRA/OpenRA/merges","archive_url":"https://api.github.com/repos/OpenRA/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRA/OpenRA/downloads","issues_url":"https://api.github.com/repos/OpenRA/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRA/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRA/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/OpenRA/OpenRA/releases{/id}","created_at":"2010-10-04T07:38:05Z","updated_at":"2015-11-13T16:00:51Z","pushed_at":"2015-11-13T19:15:54Z","git_url":"git://github.com/OpenRA/OpenRA.git","ssh_url":"git@github.com:OpenRA/OpenRA.git","clone_url":"https://github.com/OpenRA/OpenRA.git","svn_url":"https://github.com/OpenRA/OpenRA","homepage":"http://www.openra.net","size":200424,"stargazers_count":2306,"watchers_count":2306,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":815,"mirror_url":null,"open_issues_count":983,"forks":815,"open_issues":983,"watchers":2306,"default_branch":"bleed"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/9906"},"issue":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/9906"},"comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/9906/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9906/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRA/OpenRA/statuses/8e7e7c01b4690e45878722a5bdf457fa056ff082"}}}}