Fixed widthInPixels/heightInPixels for JSON tilemaps and TilemapLayerGL display width/height #2691

Merged
merged 2 commits into from Aug 16, 2016

Projects

None yet

2 participants

@hexus
Contributor
hexus commented Aug 15, 2016

This PR changes (delete as applicable)

  • Nothing, it's a bug fix

Describe the changes below:


Fixed a few of bugs that my current project brought to light.

  • widthInPixels and heightInPixels were being read incorrectly from JSON data (capitalisation of properties)
  • TilemapLayerGL#resize was setting the wrong property
  • TilemapLayerGL#renderFull was using this.game._width/height instead of its own display width/height
@photonstorm photonstorm merged commit a12157d into photonstorm:dev Aug 16, 2016

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
@photonstorm
Owner

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment