{"action":"created","comment":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/comments/29775659","id":29775659,"diff_hunk":"@@ -42,5 +49,11 @@ module.exports = {\n      * @todo Needs docs.\n      * @private\n      */\n-    _touchDown: false\n+    _touchDown: false,\n+    \n+    /**\n+     * Used to track the global start position of a touchdown event on this target.\n+     * @private\n+     */\n+    _touchDownPoint: new core.Point()","path":"src/interaction/interactiveTarget.js","position":31,"original_position":31,"commit_id":"7e20a9b450038e087898fdc68d0b7a3acd577938","original_commit_id":"7e20a9b450038e087898fdc68d0b7a3acd577938","user":{"login":"drkibitz","id":1480922,"avatar_url":"https://avatars.githubusercontent.com/u/1480922?v=3","gravatar_id":"","url":"https://api.github.com/users/drkibitz","html_url":"https://github.com/drkibitz","followers_url":"https://api.github.com/users/drkibitz/followers","following_url":"https://api.github.com/users/drkibitz/following{/other_user}","gists_url":"https://api.github.com/users/drkibitz/gists{/gist_id}","starred_url":"https://api.github.com/users/drkibitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drkibitz/subscriptions","organizations_url":"https://api.github.com/users/drkibitz/orgs","repos_url":"https://api.github.com/users/drkibitz/repos","events_url":"https://api.github.com/users/drkibitz/events{/privacy}","received_events_url":"https://api.github.com/users/drkibitz/received_events","type":"User","site_admin":false},"body":"@englercj the issue is that if you do not relate the object based on the touch itself then multitouch  might make this flakely, if only have slightly unexpected behavior. But I don't know to what extent without testing myself.","created_at":"2015-05-06T16:29:07Z","updated_at":"2015-05-06T16:29:07Z","html_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1753#discussion_r29775659","pull_request_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753","_links":{"self":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/comments/29775659"},"html":{"href":"https://github.com/GoodBoyDigital/pixi.js/pull/1753#discussion_r29775659"},"pull_request":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753"}}},"pull_request":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753","id":34758677,"html_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1753","diff_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1753.diff","patch_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1753.patch","issue_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1753","number":1753,"state":"open","locked":false,"title":"Added better tap detection to the InteractionManager","user":{"login":"naranjamecanica","id":884899,"avatar_url":"https://avatars.githubusercontent.com/u/884899?v=3","gravatar_id":"","url":"https://api.github.com/users/naranjamecanica","html_url":"https://github.com/naranjamecanica","followers_url":"https://api.github.com/users/naranjamecanica/followers","following_url":"https://api.github.com/users/naranjamecanica/following{/other_user}","gists_url":"https://api.github.com/users/naranjamecanica/gists{/gist_id}","starred_url":"https://api.github.com/users/naranjamecanica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naranjamecanica/subscriptions","organizations_url":"https://api.github.com/users/naranjamecanica/orgs","repos_url":"https://api.github.com/users/naranjamecanica/repos","events_url":"https://api.github.com/users/naranjamecanica/events{/privacy}","received_events_url":"https://api.github.com/users/naranjamecanica/received_events","type":"User","site_admin":false},"body":"I’ve added a threshold of number of pixels a touch can move between a\r\ndown and up event, before a tap event is emitted.\r\n\r\nIn the game I’m making right now i have a draggable world, and every\r\nobject get’s an tap event when I start&stopping dragging on the object.\r\nUsing a threshold prevents is.\r\n\r\nLet me know what you think and if it needs adjustment.","created_at":"2015-05-05T19:32:34Z","updated_at":"2015-05-06T16:29:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d6af0ea3ce2e159f7734841c6ac51441d043dd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753/commits","review_comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753/comments","review_comment_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1753/comments","statuses_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/statuses/7e20a9b450038e087898fdc68d0b7a3acd577938","head":{"label":"naranjamecanica:dev","ref":"dev","sha":"7e20a9b450038e087898fdc68d0b7a3acd577938","user":{"login":"naranjamecanica","id":884899,"avatar_url":"https://avatars.githubusercontent.com/u/884899?v=3","gravatar_id":"","url":"https://api.github.com/users/naranjamecanica","html_url":"https://github.com/naranjamecanica","followers_url":"https://api.github.com/users/naranjamecanica/followers","following_url":"https://api.github.com/users/naranjamecanica/following{/other_user}","gists_url":"https://api.github.com/users/naranjamecanica/gists{/gist_id}","starred_url":"https://api.github.com/users/naranjamecanica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naranjamecanica/subscriptions","organizations_url":"https://api.github.com/users/naranjamecanica/orgs","repos_url":"https://api.github.com/users/naranjamecanica/repos","events_url":"https://api.github.com/users/naranjamecanica/events{/privacy}","received_events_url":"https://api.github.com/users/naranjamecanica/received_events","type":"User","site_admin":false},"repo":{"id":35118603,"name":"pixi.js","full_name":"naranjamecanica/pixi.js","owner":{"login":"naranjamecanica","id":884899,"avatar_url":"https://avatars.githubusercontent.com/u/884899?v=3","gravatar_id":"","url":"https://api.github.com/users/naranjamecanica","html_url":"https://github.com/naranjamecanica","followers_url":"https://api.github.com/users/naranjamecanica/followers","following_url":"https://api.github.com/users/naranjamecanica/following{/other_user}","gists_url":"https://api.github.com/users/naranjamecanica/gists{/gist_id}","starred_url":"https://api.github.com/users/naranjamecanica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naranjamecanica/subscriptions","organizations_url":"https://api.github.com/users/naranjamecanica/orgs","repos_url":"https://api.github.com/users/naranjamecanica/repos","events_url":"https://api.github.com/users/naranjamecanica/events{/privacy}","received_events_url":"https://api.github.com/users/naranjamecanica/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/naranjamecanica/pixi.js","description":"Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback","fork":true,"url":"https://api.github.com/repos/naranjamecanica/pixi.js","forks_url":"https://api.github.com/repos/naranjamecanica/pixi.js/forks","keys_url":"https://api.github.com/repos/naranjamecanica/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/naranjamecanica/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/naranjamecanica/pixi.js/teams","hooks_url":"https://api.github.com/repos/naranjamecanica/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/naranjamecanica/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/naranjamecanica/pixi.js/events","assignees_url":"https://api.github.com/repos/naranjamecanica/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/naranjamecanica/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/naranjamecanica/pixi.js/tags","blobs_url":"https://api.github.com/repos/naranjamecanica/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/naranjamecanica/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/naranjamecanica/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/naranjamecanica/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/naranjamecanica/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/naranjamecanica/pixi.js/languages","stargazers_url":"https://api.github.com/repos/naranjamecanica/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/naranjamecanica/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/naranjamecanica/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/naranjamecanica/pixi.js/subscription","commits_url":"https://api.github.com/repos/naranjamecanica/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/naranjamecanica/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/naranjamecanica/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/naranjamecanica/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/naranjamecanica/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/naranjamecanica/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/naranjamecanica/pixi.js/merges","archive_url":"https://api.github.com/repos/naranjamecanica/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/naranjamecanica/pixi.js/downloads","issues_url":"https://api.github.com/repos/naranjamecanica/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/naranjamecanica/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/naranjamecanica/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/naranjamecanica/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/naranjamecanica/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/naranjamecanica/pixi.js/releases{/id}","created_at":"2015-05-05T19:06:50Z","updated_at":"2015-05-05T19:06:51Z","pushed_at":"2015-05-05T19:31:33Z","git_url":"git://github.com/naranjamecanica/pixi.js.git","ssh_url":"git@github.com:naranjamecanica/pixi.js.git","clone_url":"https://github.com/naranjamecanica/pixi.js.git","svn_url":"https://github.com/naranjamecanica/pixi.js","homepage":null,"size":53848,"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":"GoodBoyDigital:dev","ref":"dev","sha":"e957c618337a647f4f48bfe9fbf44a2ba911e8fe","user":{"login":"GoodBoyDigital","id":3112434,"avatar_url":"https://avatars.githubusercontent.com/u/3112434?v=3","gravatar_id":"","url":"https://api.github.com/users/GoodBoyDigital","html_url":"https://github.com/GoodBoyDigital","followers_url":"https://api.github.com/users/GoodBoyDigital/followers","following_url":"https://api.github.com/users/GoodBoyDigital/following{/other_user}","gists_url":"https://api.github.com/users/GoodBoyDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodBoyDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodBoyDigital/subscriptions","organizations_url":"https://api.github.com/users/GoodBoyDigital/orgs","repos_url":"https://api.github.com/users/GoodBoyDigital/repos","events_url":"https://api.github.com/users/GoodBoyDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GoodBoyDigital/received_events","type":"User","site_admin":false},"repo":{"id":7741856,"name":"pixi.js","full_name":"GoodBoyDigital/pixi.js","owner":{"login":"GoodBoyDigital","id":3112434,"avatar_url":"https://avatars.githubusercontent.com/u/3112434?v=3","gravatar_id":"","url":"https://api.github.com/users/GoodBoyDigital","html_url":"https://github.com/GoodBoyDigital","followers_url":"https://api.github.com/users/GoodBoyDigital/followers","following_url":"https://api.github.com/users/GoodBoyDigital/following{/other_user}","gists_url":"https://api.github.com/users/GoodBoyDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/GoodBoyDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoodBoyDigital/subscriptions","organizations_url":"https://api.github.com/users/GoodBoyDigital/orgs","repos_url":"https://api.github.com/users/GoodBoyDigital/repos","events_url":"https://api.github.com/users/GoodBoyDigital/events{/privacy}","received_events_url":"https://api.github.com/users/GoodBoyDigital/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GoodBoyDigital/pixi.js","description":"Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback","fork":false,"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js","forks_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/forks","keys_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/teams","hooks_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/events","assignees_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/tags","blobs_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/languages","stargazers_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/subscription","commits_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/merges","archive_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/downloads","issues_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/releases{/id}","created_at":"2013-01-21T22:40:50Z","updated_at":"2015-05-06T16:05:36Z","pushed_at":"2015-05-06T15:52:01Z","git_url":"git://github.com/GoodBoyDigital/pixi.js.git","ssh_url":"git@github.com:GoodBoyDigital/pixi.js.git","clone_url":"https://github.com/GoodBoyDigital/pixi.js.git","svn_url":"https://github.com/GoodBoyDigital/pixi.js","homepage":null,"size":53848,"stargazers_count":7455,"watchers_count":7455,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1530,"mirror_url":null,"open_issues_count":82,"forks":1530,"open_issues":82,"watchers":7455,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753"},"html":{"href":"https://github.com/GoodBoyDigital/pixi.js/pull/1753"},"issue":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1753"},"comments":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1753/comments"},"review_comments":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753/comments"},"review_comment":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1753/commits"},"statuses":{"href":"https://api.github.com/repos/GoodBoyDigital/pixi.js/statuses/7e20a9b450038e087898fdc68d0b7a3acd577938"}}}}