mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Merge pull request #4014 from alexeymolchan/master
fixed incorrect properties assignment in setTileScale method
This commit is contained in:
commit
3b7f14f764
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