Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button TouchEvents causing crash on android during TOuch DOwn + Drag out situations #276

Open
Glidias opened this issue Nov 20, 2017 · 1 comment

Comments

@Glidias
Copy link

Glidias commented Nov 20, 2017

I had to comment this out to prevent crashing in Button.hx on an Android samsung phone.

    //#if mobile
    //    this.addEventListener(flash.events.TouchEvent.TOUCH_OUT, Button._onHout);
    //    this.addEventListener(flash.events.TouchEvent.TOUCH_OUT, Button._onRelease);
    //#end

Not sure about IOS and other device types. Are the TouchEvents really needed? It seems to work fine (and in fact less buggy) without the TouchEvents.

@RealyUniqueName
Copy link
Owner

This is a workaround for some older version of openfl. Perhaps it can be safely removed now.

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

No branches or pull requests

2 participants