-
Notifications
You must be signed in to change notification settings - Fork 491
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
Buttons states are active. #429
Comments
The example you have created is what i wanted to point at. |
I've made a PR trying to fix this. |
Could this be solved by adding input.interactiveItems.callAll('_pointerOutHandler', this); in Phaser.Pointer#stop? |
@samme I haven't noticed interactiveItems inside input. So I put this this.input.interactiveItems.callAll('_pointerOutHandler', this.input.mousePointer); in Phaser.Mouse#onMouseOut and it seems ok. I've updated PR for this. Thanks for the advice. |
@squaresun can you explain? Thanks.
|
@samme |
That might be OK. I guess I'll have to try it. |
I’m going to move this behavior under stopOnGameOut. |
On moving mouse out of the canvas, if the mouse was over a button, the button stays in hover state and if we move the mouse back on canvas at other location then the mouse stays in hand cursor and the button stays in hover state, until you move the mouse over the button again and move out on the canvas.
The text was updated successfully, but these errors were encountered: