{"action":"created","comment":{"url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments/67416403","id":67416403,"diff_hunk":"@@ -77,7 +81,7 @@\n              * Initializes the map with a canvas and loads the cameras and players.\n              */\n             function init() {\n-                var canvas = new fabric.Canvas(element[0]);\n+                var canvas = new fabric.CanvasEx(element[0]);\n                 canvas.selection = false;\n                 scope.canvas = canvas;\n                 scope.canvas.add(label);","path":"src/main/webapp/app/map/fabric-map.directive.js","position":39,"original_position":39,"commit_id":"67a44dcee40aa781a2442332ee008a1f80e7e872","original_commit_id":"67a44dcee40aa781a2442332ee008a1f80e7e872","user":{"login":"ChrisBerg","id":5969633,"avatar_url":"https://avatars.githubusercontent.com/u/5969633?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBerg","html_url":"https://github.com/ChrisBerg","followers_url":"https://api.github.com/users/ChrisBerg/followers","following_url":"https://api.github.com/users/ChrisBerg/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBerg/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBerg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBerg/subscriptions","organizations_url":"https://api.github.com/users/ChrisBerg/orgs","repos_url":"https://api.github.com/users/ChrisBerg/repos","events_url":"https://api.github.com/users/ChrisBerg/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBerg/received_events","type":"User","site_admin":false},"body":"Could this label be removed on mouse click? It now stays at the old position when dragging a camera or a player, which seems kind of odd.","created_at":"2016-06-16T20:18:05Z","updated_at":"2016-06-16T20:18:05Z","html_url":"https://github.com/rubenwiersma/thefirstorder/pull/116#discussion_r67416403","pull_request_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116","_links":{"self":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments/67416403"},"html":{"href":"https://github.com/rubenwiersma/thefirstorder/pull/116#discussion_r67416403"},"pull_request":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116"}}},"pull_request":{"url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116","id":74140167,"html_url":"https://github.com/rubenwiersma/thefirstorder/pull/116","diff_url":"https://github.com/rubenwiersma/thefirstorder/pull/116.diff","patch_url":"https://github.com/rubenwiersma/thefirstorder/pull/116.patch","issue_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/116","number":116,"state":"open","locked":false,"title":"Add cameras and players to map by double clicking","user":{"login":"hungnguyen94","id":9165947,"avatar_url":"https://avatars.githubusercontent.com/u/9165947?v=3","gravatar_id":"","url":"https://api.github.com/users/hungnguyen94","html_url":"https://github.com/hungnguyen94","followers_url":"https://api.github.com/users/hungnguyen94/followers","following_url":"https://api.github.com/users/hungnguyen94/following{/other_user}","gists_url":"https://api.github.com/users/hungnguyen94/gists{/gist_id}","starred_url":"https://api.github.com/users/hungnguyen94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hungnguyen94/subscriptions","organizations_url":"https://api.github.com/users/hungnguyen94/orgs","repos_url":"https://api.github.com/users/hungnguyen94/repos","events_url":"https://api.github.com/users/hungnguyen94/events{/privacy}","received_events_url":"https://api.github.com/users/hungnguyen94/received_events","type":"User","site_admin":false},"body":"This makes it possible to add cameras and players by double clicking on the map. It will popup a dialog, allowing you to select either a player or a camera. \r\nWith this, we can omit the coordinates fields in the add player/camera dialog. \r\n\r\nI also moved the `uibModal` methods to a separate service. ","created_at":"2016-06-16T19:44:24Z","updated_at":"2016-06-16T20:18:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2293710d9f97beec4ea08f97d53666c15e764911","assignee":null,"milestone":{"url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones/6","html_url":"https://github.com/rubenwiersma/thefirstorder/milestones/Sprint%208","labels_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones/6/labels","id":1819884,"number":6,"title":"Sprint 8","description":"","creator":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2016-06-10T12:30:09Z","updated_at":"2016-06-16T19:44:24Z","due_on":"2016-06-16T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116/commits","review_comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116/comments","review_comment_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/116/comments","statuses_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/67a44dcee40aa781a2442332ee008a1f80e7e872","head":{"label":"rubenwiersma:feature/map-add-on-doubleclick","ref":"feature/map-add-on-doubleclick","sha":"67a44dcee40aa781a2442332ee008a1f80e7e872","user":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"repo":{"id":56485289,"name":"thefirstorder","full_name":"rubenwiersma/thefirstorder","owner":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubenwiersma/thefirstorder","description":"Github repository for the TU Delft context project.","fork":false,"url":"https://api.github.com/repos/rubenwiersma/thefirstorder","forks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/forks","keys_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/teams","hooks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/hooks","issue_events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/events{/number}","events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/events","assignees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/assignees{/user}","branches_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/branches{/branch}","tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/tags","blobs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/{sha}","languages_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/languages","stargazers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/stargazers","contributors_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contributors","subscribers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscribers","subscription_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscription","commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contents/{+path}","compare_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/merges","archive_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/downloads","issues_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues{/number}","pulls_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls{/number}","milestones_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones{/number}","notifications_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/labels{/name}","releases_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/releases{/id}","deployments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/deployments","created_at":"2016-04-18T07:10:54Z","updated_at":"2016-06-10T09:21:55Z","pushed_at":"2016-06-16T20:01:55Z","git_url":"git://github.com/rubenwiersma/thefirstorder.git","ssh_url":"git@github.com:rubenwiersma/thefirstorder.git","clone_url":"https://github.com/rubenwiersma/thefirstorder.git","svn_url":"https://github.com/rubenwiersma/thefirstorder","homepage":null,"size":109151,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":3,"default_branch":"dev"}},"base":{"label":"rubenwiersma:dev","ref":"dev","sha":"fae68d136a375a8f42e61861c26cfdad76b83b95","user":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"repo":{"id":56485289,"name":"thefirstorder","full_name":"rubenwiersma/thefirstorder","owner":{"login":"rubenwiersma","id":9115743,"avatar_url":"https://avatars.githubusercontent.com/u/9115743?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwiersma","html_url":"https://github.com/rubenwiersma","followers_url":"https://api.github.com/users/rubenwiersma/followers","following_url":"https://api.github.com/users/rubenwiersma/following{/other_user}","gists_url":"https://api.github.com/users/rubenwiersma/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwiersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwiersma/subscriptions","organizations_url":"https://api.github.com/users/rubenwiersma/orgs","repos_url":"https://api.github.com/users/rubenwiersma/repos","events_url":"https://api.github.com/users/rubenwiersma/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwiersma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubenwiersma/thefirstorder","description":"Github repository for the TU Delft context project.","fork":false,"url":"https://api.github.com/repos/rubenwiersma/thefirstorder","forks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/forks","keys_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/teams","hooks_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/hooks","issue_events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/events{/number}","events_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/events","assignees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/assignees{/user}","branches_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/branches{/branch}","tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/tags","blobs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/{sha}","languages_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/languages","stargazers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/stargazers","contributors_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contributors","subscribers_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscribers","subscription_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/subscription","commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/contents/{+path}","compare_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/merges","archive_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/downloads","issues_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues{/number}","pulls_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls{/number}","milestones_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/milestones{/number}","notifications_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/labels{/name}","releases_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/releases{/id}","deployments_url":"https://api.github.com/repos/rubenwiersma/thefirstorder/deployments","created_at":"2016-04-18T07:10:54Z","updated_at":"2016-06-10T09:21:55Z","pushed_at":"2016-06-16T20:01:55Z","git_url":"git://github.com/rubenwiersma/thefirstorder.git","ssh_url":"git@github.com:rubenwiersma/thefirstorder.git","clone_url":"https://github.com/rubenwiersma/thefirstorder.git","svn_url":"https://github.com/rubenwiersma/thefirstorder","homepage":null,"size":109151,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":3,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116"},"html":{"href":"https://github.com/rubenwiersma/thefirstorder/pull/116"},"issue":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/116"},"comments":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/rubenwiersma/thefirstorder/statuses/67a44dcee40aa781a2442332ee008a1f80e7e872"}}}}
{"actor":{"display_login":"ChrisBerg"}}