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

Mouse OVER/OUT events are not sent when objects under the mouse change but the mouse is not moved #191

Open
nadako opened this issue Mar 26, 2020 · 0 comments

Comments

@nadako
Copy link

nadako commented Mar 26, 2020

originally FOE-56180

Quite easy to reproduce, but non-trivial to fix:

  • add a display
  • attach mouse over/out events on it
  • toggle its visibility without moving mouse
  • results on Flash and OpenFL are different:
    • flash: will receive OVER/OUT events
    • openfl: will NOT receive them

This basically requires recalculating objects under the cursor on every display tree change, which is quite expensive. The hit-test bounds caching optimization (#154) could help with it if we manage to do it right.

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

1 participant