Fix 'TypeError: is undefined' #2654

merged 1 commit into from Jul 20, 2016


None yet

2 participants


This PR changes

  • Nothing, it's a bug fix

Hi, I change 'center' for 'centerX' and 'centerY' properties because display objects (like a sprite, image, tilesprite, etc), have no 'center' property.

@photonstorm photonstorm merged commit b90d7b2 into photonstorm:dev Jul 20, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
@leopoldobrines7 leopoldobrines7 deleted the leopoldobrines7:fix-function branch Jul 20, 2016
@photonstorm photonstorm added a commit that referenced this pull request Aug 22, 2016
@photonstorm Fixed Arcade Physics Circle body collision, after the #2654 change br…
…oke it unintentionally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment