-
Notifications
You must be signed in to change notification settings - Fork 95
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
Multiple click event firing #66
Comments
In my case he fires twice. |
Ok. I found an interesting fact: when the button is inside a Window component, the click callback is called one time by the window context and one time for the button context. Phaser: 2.6.2 |
A brief update: |
Another update: |
I have solution for this. I didn’t remember it right now but I will post an ans in a day for sure |
I actually added a extra button and set the position to be off-screen. |
Hi I try to use Ezgui to show popup in my new game using phaserjs. Its really nice thanks for a nice popin effects.
I have a phaser level screen when I click on any level popup comes up. What I am doing is on a click of phaser button I am registering a click event for play button which is a part of popup. But when I click play button of popup the play event fires 3 times. I trited to use off('click') but its also not working getting undefined.
Any suggestions on how to handle this?
The text was updated successfully, but these errors were encountered: