Bolko Posted May 15, 2015 Share Posted May 15, 2015 I´m getting an error when having a mousedown on a button and on mousedown removing various displayObjectsUncaught TypeError: Cannot read property 'visible' of undefined It seems pixi is still looping through nulled(?) displayObjects.So I suggest changing "if( !displayObject.visible)" to "if(!displayObject || !displayObject.visible)" here: InteractionManager.prototype.processInteractive = function (point, displayObject, func, hitTest, interactive ){ if(!displayObject || !displayObject.visible) { return false; } Quote Link to comment Share on other sites More sharing options...
xerver Posted May 15, 2015 Share Posted May 15, 2015 Do me a favor, if you encounter bugs or want code changes it is best to post them on GitHub: https://github.com/GoodBoyDigital/pixi.js/issues I check here less often, and all the work I do is based on GitHub issues. Much easier to track my work and prioritize that way. Thanks! Quote Link to comment Share on other sites More sharing options...
Bolko Posted May 18, 2015 Author Share Posted May 18, 2015 Sorry, I actually tried, didn´t work, now tried again, worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.