Skip to content

Fix touches on old devices#33

Open
Masadow wants to merge 1 commit intoYAL-Haxe:masterfrom
Masadow:patch-1
Open

Fix touches on old devices#33
Masadow wants to merge 1 commit intoYAL-Haxe:masterfrom
Masadow:patch-1

Conversation

@Masadow
Copy link

@Masadow Masadow commented Nov 19, 2014

Old devices does not support touch listeners on window.

When you listen for touches on document rather than window, you are sure that it will work on all devices.

Old devices does not support touch listeners on `window`.

When you listen for touches on `document` rather than `window`, you are sure that it will work on all devices.
@Masadow
Copy link
Author

Masadow commented Nov 19, 2014

This PR is intended to bring a solution for HTML5 touches, I don't know what it gives on flash target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant