{"action":"created","issue":{"url":"https://api.github.com/repos/livecode/livecode/issues/6313","repository_url":"https://api.github.com/repos/livecode/livecode","labels_url":"https://api.github.com/repos/livecode/livecode/issues/6313/labels{/name}","comments_url":"https://api.github.com/repos/livecode/livecode/issues/6313/comments","events_url":"https://api.github.com/repos/livecode/livecode/issues/6313/events","html_url":"https://github.com/livecode/livecode/pull/6313","id":293913125,"number":6313,"title":"[[ WidgetTouch ]] Add support for touch events in widgets","user":{"login":"runrevmark","id":3985298,"avatar_url":"https://avatars0.githubusercontent.com/u/3985298?v=4","gravatar_id":"","url":"https://api.github.com/users/runrevmark","html_url":"https://github.com/runrevmark","followers_url":"https://api.github.com/users/runrevmark/followers","following_url":"https://api.github.com/users/runrevmark/following{/other_user}","gists_url":"https://api.github.com/users/runrevmark/gists{/gist_id}","starred_url":"https://api.github.com/users/runrevmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runrevmark/subscriptions","organizations_url":"https://api.github.com/users/runrevmark/orgs","repos_url":"https://api.github.com/users/runrevmark/repos","events_url":"https://api.github.com/users/runrevmark/events{/privacy}","received_events_url":"https://api.github.com/users/runrevmark/received_events","type":"User","site_admin":false},"labels":[{"id":186647048,"url":"https://api.github.com/repos/livecode/livecode/labels/LCB","name":"LCB","color":"bfdadc","default":false},{"id":35274914,"url":"https://api.github.com/repos/livecode/livecode/labels/enhancement","name":"enhancement","color":"207de5","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-02T14:51:50Z","updated_at":"2018-02-19T02:04:27Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/livecode/livecode/pulls/6313","html_url":"https://github.com/livecode/livecode/pull/6313","diff_url":"https://github.com/livecode/livecode/pull/6313.diff","patch_url":"https://github.com/livecode/livecode/pull/6313.patch"},"body":"This patch implements OnTouch(Start|Finish|Move|Cancel) in widgets.\r\n\r\nThe widget which hit-tests for the first touch in a sequence grabs\r\nall touches in that sequence. The event handlers take no arguments, but instead the\r\nfull touch state is available through syntax. If the widget\r\nbecomes invisible, or is closed whilst active touches are present\r\nCancel is sent for all of them.\r\n\r\nThe currently active touch (the one which caused the event to\r\nbubble) can be found by using ```the touch index```, and its\r\nposition using ```the touch position```.\r\n\r\nThe number of touches currently in progress can be found by using\r\n```the number of touches``` and the position of a given touch using\r\n```the position of touch tIndex```.\r\n\r\nNote: Due to the way touch messages are currently processed above\r\nthe widget event system, widgets will receive mouse messages and\r\n*then* touch messages. To make a widget which works on both Desktop\r\nand Mobile, and wants touches on Mobile, the widget must have both\r\nmouse and touch handlers, and check for platform in the mouse handlers."},"comment":{"url":"https://api.github.com/repos/livecode/livecode/issues/comments/366571817","html_url":"https://github.com/livecode/livecode/pull/6313#issuecomment-366571817","issue_url":"https://api.github.com/repos/livecode/livecode/issues/6313","id":366571817,"user":{"login":"montegoulding","id":351144,"avatar_url":"https://avatars3.githubusercontent.com/u/351144?v=4","gravatar_id":"","url":"https://api.github.com/users/montegoulding","html_url":"https://github.com/montegoulding","followers_url":"https://api.github.com/users/montegoulding/followers","following_url":"https://api.github.com/users/montegoulding/following{/other_user}","gists_url":"https://api.github.com/users/montegoulding/gists{/gist_id}","starred_url":"https://api.github.com/users/montegoulding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/montegoulding/subscriptions","organizations_url":"https://api.github.com/users/montegoulding/orgs","repos_url":"https://api.github.com/users/montegoulding/repos","events_url":"https://api.github.com/users/montegoulding/events{/privacy}","received_events_url":"https://api.github.com/users/montegoulding/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T02:04:27Z","updated_at":"2018-02-19T02:04:27Z","author_association":"CONTRIBUTOR","body":"@livecodeali I have now resolved the crashes I was seeing on this so it's ready for review"}}
{"actor":{"display_login":"montegoulding"}}