Fix 'TypeError: target.center is undefined' #2654

Merged
merged 1 commit into from Jul 20, 2016

Projects

None yet

2 participants

@leopoldobrines7
Contributor

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
Details
@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.
11b0436
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment