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

Correct use of Tween#setCallback() and Timeline#setCallback() #5757

Merged
merged 2 commits into from
Sep 20, 2021

Conversation

samme
Copy link
Contributor

@samme samme commented Jun 27, 2021

This PR

  • Fixes a bug

Fixes #5753

Phaser's use of the setCallback() methods was inconsistent with the API, and if you used setCallback() as documented you would lose callback arguments (#5753).

@photonstorm photonstorm merged commit 9db0b98 into phaserjs:master Sep 20, 2021
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

Successfully merging this pull request may close these issues.

dispatchTweenEvent overwrites one of the callback's parameters
2 participants