Merge pull request #4014 from alexeymolchan/master

fixed incorrect properties assignment in setTileScale method
This commit is contained in:
Richard Davey 2018-09-04 22:16:08 +01:00 committed by GitHub
commit 3b7f14f764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -389,12 +389,12 @@ var TileSprite = new Class({
{
if (x !== undefined)
{
this.tilePositionX = x;
this.tileScaleX = x;
}
if (y !== undefined)
{
this.tilePositionY = y;
this.tileScaleY = y;
}
return this;