mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +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)
|
if (x !== undefined)
|
||||||
{
|
{
|
||||||
this.tilePositionX = x;
|
this.tileScaleX = x;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (y !== undefined)
|
if (y !== undefined)
|
||||||
{
|
{
|
||||||
this.tilePositionY = y;
|
this.tileScaleY = y;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Add table
Reference in a new issue