Skip to content

Conversation

@owendwyer
Copy link
Contributor

If the browser doesn't support touch events, then calling Touch.disable causes an error. The error is because stage.__touch is never initiated in Touch.enable and so trying to delete it causes an error. This is fixed by adding a check for stage.__touch in Touch.disable.

If the browser doesn't support touch events, then calling Touch.disable causes an error.  The error is because stage.__touch is never initiated in Touch.enable and so trying to delete it causes an error.  This is fixed by adding a check for stage.__touch in Touch.disable.
@danzen danzen merged commit c637dd3 into CreateJS:master Jun 26, 2022
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.

2 participants