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

Event cannot be triggered on Chrome #1945

Closed
phamtranphu opened this issue Jul 27, 2015 · 3 comments
Closed

Event cannot be triggered on Chrome #1945

phamtranphu opened this issue Jul 27, 2015 · 3 comments

Comments

@phamtranphu
Copy link

My game works well before upgrade to 2.4.1. After upgrade, the button click event cannot be triggered on Chrome
My code:

var btnEasy = this.add.button((Puzzle.GAME_WIDTH-350)/2, 500, 'easybtn', this.selectLevel, this, 1, 0, 2);

and callback event:
selectLevel: function(item) {
alert('1');
// start the Game state
Puzzle.LEVEL = item.level;

    this.state.start('Categories');
}
@photonstorm
Copy link
Collaborator

Could you all please try the latest build in the dev branch. I've uploaded build files as well for you. But I am pretty sure I've found the cause of it and in my tests in native Cordova apps and on Windows and OSX it's working correctly once again.

@ksidpen
Copy link

ksidpen commented Jul 29, 2015

same issue. seems to work in dev branch though

@photonstorm
Copy link
Collaborator

Yes this is fixed fully in 2.4.2 which I'll push to master today.

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

3 participants