{ "id": "61091", "key": "TIMOB-459", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:07.000+0000", "created": "2011-04-15T02:29:43.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Base UI => Views => Events with Views
\nThere is a red square and two window event listeners (touchstart\nand singletap)
\nthe x/y for touchstart seems right always
\nthe x/y for singletap seems relative to the red box when you\nclick inside the red box
Turns out touchstart was wrong in different ways. All view\ntouch/tap events now return a point relative to the view they're\nin, or for movement events, the view in which the movement began\n(which is why the next property is necessary).
\nThere is also a new 'globalPoint' property on touch events which\nreferences the point in the global coordinate system, NOT the\nwindow's coordinate system.
(from [5d538e94fd4224e0992dbffe6bc6f4eea768fe05])\nCloses #459: Touch events now return coordinates\nrelative to their (starting) view, added 'globalPoint' property to\nevent dictionary \nhttp://github.com/appcelerator/titanium_mobile/commit/5d538e94fd422...