slstlr Posted February 14, 2014 Share Posted February 14, 2014 Hi,With the new version of pixi.js (1.5.1 from 2014-02-13) the mouseout event is fired when it shouldn't.I have sprite A which is a rectangle and sprite B which is a smaller rectangle inside sprite A. Please see the attached image.When I move the mouse in and out of sprite A the events come as expected. But when I move the mouse in sprite A and then continue to sprite B I get the mouseout event for sprite A even though my mouse is still inside sprite A.Essentially the problem is that I get mouseout for sprite A while my mouse is still within its bounds.This was defferent in pixi.js 1.4.2 from 2014-01-15, I used to get mouseout when I actually move the mouse out of my sprite.So is this a defect? If yes, is there a specific process for reporting defects? Thanks. Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted February 14, 2014 Share Posted February 14, 2014 Hi there, thanks for reporting! This is actually the new expected behaviour. It now works similar to how html and flash deal with mouse events. Quote Link to comment Share on other sites More sharing options...
xerver Posted February 14, 2014 Share Posted February 14, 2014 If yes, is there a specific process for reporting defects? I'm so glad you asked! Please take a look at the Contributing Guide on our github page: https://github.com/GoodBoyDigital/pixi.js/blob/master/CONTRIBUTING.md 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.