mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
fixed incorrect properties assignment in setTileScale method
This commit is contained in:
parent
03aeaefe21
commit
2aba731f4a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue