{"action":"closed","number":44,"pull_request":{"url":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/44","id":172667741,"html_url":"https://github.com/davidfig/pixi-viewport/pull/44","diff_url":"https://github.com/davidfig/pixi-viewport/pull/44.diff","patch_url":"https://github.com/davidfig/pixi-viewport/pull/44.patch","issue_url":"https://api.github.com/repos/davidfig/pixi-viewport/issues/44","number":44,"state":"closed","locked":false,"title":"calculate point relative to divWheel","user":{"login":"mrBuchmann","id":1488784,"avatar_url":"https://avatars3.githubusercontent.com/u/1488784?v=4","gravatar_id":"","url":"https://api.github.com/users/mrBuchmann","html_url":"https://github.com/mrBuchmann","followers_url":"https://api.github.com/users/mrBuchmann/followers","following_url":"https://api.github.com/users/mrBuchmann/following{/other_user}","gists_url":"https://api.github.com/users/mrBuchmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mrBuchmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrBuchmann/subscriptions","organizations_url":"https://api.github.com/users/mrBuchmann/orgs","repos_url":"https://api.github.com/users/mrBuchmann/repos","events_url":"https://api.github.com/users/mrBuchmann/events{/privacy}","received_events_url":"https://api.github.com/users/mrBuchmann/received_events","type":"User","site_admin":false},"body":"To allow proper zooming to pointer behavior when using divWheel != document.body, calculate relative pointer position to divWheel.\r\n\r\nSince layerX/layerY (https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/layerX) are non-standard, calculate position as suggested by https://stackoverflow.com/a/10816667/1187951","created_at":"2018-03-03T13:40:12Z","updated_at":"2018-03-26T00:16:43Z","closed_at":"2018-03-26T00:16:43Z","merged_at":"2018-03-26T00:16:43Z","merge_commit_sha":"46cfd027f0f9e645e743fde97ed2b55cd5418be8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/44/commits","review_comments_url":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/44/comments","review_comment_url":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davidfig/pixi-viewport/issues/44/comments","statuses_url":"https://api.github.com/repos/davidfig/pixi-viewport/statuses/46cfd027f0f9e645e743fde97ed2b55cd5418be8","head":{"label":"mrBuchmann:divRelativeZooming","ref":"divRelativeZooming","sha":"46cfd027f0f9e645e743fde97ed2b55cd5418be8","user":{"login":"mrBuchmann","id":1488784,"avatar_url":"https://avatars3.githubusercontent.com/u/1488784?v=4","gravatar_id":"","url":"https://api.github.com/users/mrBuchmann","html_url":"https://github.com/mrBuchmann","followers_url":"https://api.github.com/users/mrBuchmann/followers","following_url":"https://api.github.com/users/mrBuchmann/following{/other_user}","gists_url":"https://api.github.com/users/mrBuchmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mrBuchmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrBuchmann/subscriptions","organizations_url":"https://api.github.com/users/mrBuchmann/orgs","repos_url":"https://api.github.com/users/mrBuchmann/repos","events_url":"https://api.github.com/users/mrBuchmann/events{/privacy}","received_events_url":"https://api.github.com/users/mrBuchmann/received_events","type":"User","site_admin":false},"repo":{"id":123591862,"name":"pixi-viewport","full_name":"mrBuchmann/pixi-viewport","owner":{"login":"mrBuchmann","id":1488784,"avatar_url":"https://avatars3.githubusercontent.com/u/1488784?v=4","gravatar_id":"","url":"https://api.github.com/users/mrBuchmann","html_url":"https://github.com/mrBuchmann","followers_url":"https://api.github.com/users/mrBuchmann/followers","following_url":"https://api.github.com/users/mrBuchmann/following{/other_user}","gists_url":"https://api.github.com/users/mrBuchmann/gists{/gist_id}","starred_url":"https://api.github.com/users/mrBuchmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrBuchmann/subscriptions","organizations_url":"https://api.github.com/users/mrBuchmann/orgs","repos_url":"https://api.github.com/users/mrBuchmann/repos","events_url":"https://api.github.com/users/mrBuchmann/events{/privacy}","received_events_url":"https://api.github.com/users/mrBuchmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrBuchmann/pixi-viewport","description":"A highly configurable viewport/2D camera designed to work with pixi.js","fork":true,"url":"https://api.github.com/repos/mrBuchmann/pixi-viewport","forks_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/forks","keys_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/teams","hooks_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/hooks","issue_events_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/issues/events{/number}","events_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/events","assignees_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/assignees{/user}","branches_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/branches{/branch}","tags_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/tags","blobs_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/statuses/{sha}","languages_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/languages","stargazers_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/stargazers","contributors_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/contributors","subscribers_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/subscribers","subscription_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/subscription","commits_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/contents/{+path}","compare_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/merges","archive_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/downloads","issues_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/issues{/number}","pulls_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/pulls{/number}","milestones_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/milestones{/number}","notifications_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/labels{/name}","releases_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/releases{/id}","deployments_url":"https://api.github.com/repos/mrBuchmann/pixi-viewport/deployments","created_at":"2018-03-02T14:52:36Z","updated_at":"2018-03-02T14:52:38Z","pushed_at":"2018-03-25T10:55:41Z","git_url":"git://github.com/mrBuchmann/pixi-viewport.git","ssh_url":"git@github.com:mrBuchmann/pixi-viewport.git","clone_url":"https://github.com/mrBuchmann/pixi-viewport.git","svn_url":"https://github.com/mrBuchmann/pixi-viewport","homepage":"","size":2544,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"davidfig:master","ref":"master","sha":"e31aa731e64c02d2739a92a29b350cdc9d360d47","user":{"login":"davidfig","id":442879,"avatar_url":"https://avatars2.githubusercontent.com/u/442879?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfig","html_url":"https://github.com/davidfig","followers_url":"https://api.github.com/users/davidfig/followers","following_url":"https://api.github.com/users/davidfig/following{/other_user}","gists_url":"https://api.github.com/users/davidfig/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfig/subscriptions","organizations_url":"https://api.github.com/users/davidfig/orgs","repos_url":"https://api.github.com/users/davidfig/repos","events_url":"https://api.github.com/users/davidfig/events{/privacy}","received_events_url":"https://api.github.com/users/davidfig/received_events","type":"User","site_admin":false},"repo":{"id":101721794,"name":"pixi-viewport","full_name":"davidfig/pixi-viewport","owner":{"login":"davidfig","id":442879,"avatar_url":"https://avatars2.githubusercontent.com/u/442879?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfig","html_url":"https://github.com/davidfig","followers_url":"https://api.github.com/users/davidfig/followers","following_url":"https://api.github.com/users/davidfig/following{/other_user}","gists_url":"https://api.github.com/users/davidfig/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfig/subscriptions","organizations_url":"https://api.github.com/users/davidfig/orgs","repos_url":"https://api.github.com/users/davidfig/repos","events_url":"https://api.github.com/users/davidfig/events{/privacy}","received_events_url":"https://api.github.com/users/davidfig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidfig/pixi-viewport","description":"A highly configurable viewport/2D camera designed to work with pixi.js","fork":false,"url":"https://api.github.com/repos/davidfig/pixi-viewport","forks_url":"https://api.github.com/repos/davidfig/pixi-viewport/forks","keys_url":"https://api.github.com/repos/davidfig/pixi-viewport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidfig/pixi-viewport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidfig/pixi-viewport/teams","hooks_url":"https://api.github.com/repos/davidfig/pixi-viewport/hooks","issue_events_url":"https://api.github.com/repos/davidfig/pixi-viewport/issues/events{/number}","events_url":"https://api.github.com/repos/davidfig/pixi-viewport/events","assignees_url":"https://api.github.com/repos/davidfig/pixi-viewport/assignees{/user}","branches_url":"https://api.github.com/repos/davidfig/pixi-viewport/branches{/branch}","tags_url":"https://api.github.com/repos/davidfig/pixi-viewport/tags","blobs_url":"https://api.github.com/repos/davidfig/pixi-viewport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidfig/pixi-viewport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidfig/pixi-viewport/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidfig/pixi-viewport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidfig/pixi-viewport/statuses/{sha}","languages_url":"https://api.github.com/repos/davidfig/pixi-viewport/languages","stargazers_url":"https://api.github.com/repos/davidfig/pixi-viewport/stargazers","contributors_url":"https://api.github.com/repos/davidfig/pixi-viewport/contributors","subscribers_url":"https://api.github.com/repos/davidfig/pixi-viewport/subscribers","subscription_url":"https://api.github.com/repos/davidfig/pixi-viewport/subscription","commits_url":"https://api.github.com/repos/davidfig/pixi-viewport/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidfig/pixi-viewport/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidfig/pixi-viewport/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidfig/pixi-viewport/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidfig/pixi-viewport/contents/{+path}","compare_url":"https://api.github.com/repos/davidfig/pixi-viewport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidfig/pixi-viewport/merges","archive_url":"https://api.github.com/repos/davidfig/pixi-viewport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidfig/pixi-viewport/downloads","issues_url":"https://api.github.com/repos/davidfig/pixi-viewport/issues{/number}","pulls_url":"https://api.github.com/repos/davidfig/pixi-viewport/pulls{/number}","milestones_url":"https://api.github.com/repos/davidfig/pixi-viewport/milestones{/number}","notifications_url":"https://api.github.com/repos/davidfig/pixi-viewport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidfig/pixi-viewport/labels{/name}","releases_url":"https://api.github.com/repos/davidfig/pixi-viewport/releases{/id}","deployments_url":"https://api.github.com/repos/davidfig/pixi-viewport/deployments","created_at":"2017-08-29T05:19:44Z","updated_at":"2018-03-21T02:08:36Z","pushed_at":"2018-03-26T00:16:43Z","git_url":"git://github.com/davidfig/pixi-viewport.git","ssh_url":"git@github.com:davidfig/pixi-viewport.git","clone_url":"https://github.com/davidfig/pixi-viewport.git","svn_url":"https://github.com/davidfig/pixi-viewport","homepage":"","size":2482,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":11,"open_issues":2,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/44"},"html":{"href":"https://github.com/davidfig/pixi-viewport/pull/44"},"issue":{"href":"https://api.github.com/repos/davidfig/pixi-viewport/issues/44"},"comments":{"href":"https://api.github.com/repos/davidfig/pixi-viewport/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davidfig/pixi-viewport/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/davidfig/pixi-viewport/statuses/46cfd027f0f9e645e743fde97ed2b55cd5418be8"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"davidfig","id":442879,"avatar_url":"https://avatars2.githubusercontent.com/u/442879?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfig","html_url":"https://github.com/davidfig","followers_url":"https://api.github.com/users/davidfig/followers","following_url":"https://api.github.com/users/davidfig/following{/other_user}","gists_url":"https://api.github.com/users/davidfig/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfig/subscriptions","organizations_url":"https://api.github.com/users/davidfig/orgs","repos_url":"https://api.github.com/users/davidfig/repos","events_url":"https://api.github.com/users/davidfig/events{/privacy}","received_events_url":"https://api.github.com/users/davidfig/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":35,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"davidfig"}}