tonyw Posted May 8, 2017 Share Posted May 8, 2017 re my earlier post on touch events and canvas+ ... As an experiment, I replaced the pixi from a cocoon sample app ( https://github.com/CocoonIO/cocoon-sample-facebook ) and replaced it with the latest pixi and it then broke the touch events, which simply do not work anymore. This is a serious problem! Anyone know anything about it? tony Quote Link to comment Share on other sites More sharing options...
Nazariglez Posted May 8, 2017 Share Posted May 8, 2017 Hi, Try to replace this: button.mousedown = button.touchstart = function(){ callback(); }; by this: button.on('click', callback); button.on('tap', callback); Regards! tonyw 1 Quote Link to comment Share on other sites More sharing options...
tonyw Posted May 8, 2017 Author Share Posted May 8, 2017 hi, yeah, but I'm afraid it's far more serious than that. The events are broken deep inside of pixi on canvas+ 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.