{"action":"created","issue":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1731","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1731/labels{/name}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1731/comments","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1731/events","html_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1731","id":71304803,"number":1731,"title":"Fix touch datas for cocoonjs default configuration","user":{"login":"JiDW","id":581736,"avatar_url":"https://avatars.githubusercontent.com/u/581736?v=3","gravatar_id":"","url":"https://api.github.com/users/JiDW","html_url":"https://github.com/JiDW","followers_url":"https://api.github.com/users/JiDW/followers","following_url":"https://api.github.com/users/JiDW/following{/other_user}","gists_url":"https://api.github.com/users/JiDW/gists{/gist_id}","starred_url":"https://api.github.com/users/JiDW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiDW/subscriptions","organizations_url":"https://api.github.com/users/JiDW/orgs","repos_url":"https://api.github.com/users/JiDW/repos","events_url":"https://api.github.com/users/JiDW/events{/privacy}","received_events_url":"https://api.github.com/users/JiDW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T14:45:40Z","updated_at":"2015-04-27T15:01:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/pulls/1731","html_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1731","diff_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1731.diff","patch_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1731.patch"},"body":"When CocoonJS use a scale mode (default), global.x and global.y need to be divided by\r\nthe resolution of the interaction manager.\r\n\r\nIf you specify \"no scale\", it won't work properly. However, there is to my knowledge no way to detect the scale mode of CocoonJS and by default it is set to \"ScaleToFill\".\r\n\r\nI believe that the default conf should work with PIXI.\r\n\r\nFurthermore, CocoonJS defines \"No scale\" as a \"Do it yourself\" mode."},"comment":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/comments/96690376","html_url":"https://github.com/GoodBoyDigital/pixi.js/pull/1731#issuecomment-96690376","issue_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1731","id":96690376,"user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T15:01:04Z","updated_at":"2015-04-27T15:01:04Z","body":"I thought we were considering this a cocoonJS bug?\r\n\r\nhttp://support.ludei.com/hc/communities/public/questions/202007585-Inconsistent-behavior-with-events-when-using-a-scale-mode?locale=en-us"}}