-
Notifications
You must be signed in to change notification settings - Fork 57
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
Calling InteractionManager.hitTest throws an exception #74
Comments
Thanks for reporting this. Do you think you could do a minor reproduction? Would help us a lot to verify once we have a fix. |
I'm quite busy right now, but I fixed it locally enclosing the func call inside an if. Has been working ok since then.
The bold if is the one I added. The italic if was already there. EDIT: Bold and italic don't seem to work inside code. The one I added is the first if (func) { PS: It's actually a pixi-layers problem. I can create the issue there if needed. |
Duplicate of #69 |
The InteractionManager's hitTest method calls processInteractive with the func parameter as null:
processInteractive then calls LayersTreeSearch's findHit
Which then calls _finishInteractionProcess
this._finishInteractionProcess(interactionEvent, func);
But _finishInteractionProcess expects func to exist, therefore fails:
Environment
pixi.js
version: 6.0.4This started happening after I migrated to pixi 6.
The text was updated successfully, but these errors were encountered: