mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 00:53:42 +00:00
Fixed bug where move up and move down method in groups did not work.
This commit is contained in:
parent
5b73bb21bb
commit
e24c8f63ea
1 changed files with 2 additions and 2 deletions
|
@ -476,7 +476,7 @@ Phaser.Group.prototype.moveUp = function (child) {
|
|||
|
||||
if (b)
|
||||
{
|
||||
this.swap(a, b);
|
||||
this.swap(child, b);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -500,7 +500,7 @@ Phaser.Group.prototype.moveDown = function (child) {
|
|||
|
||||
if (b)
|
||||
{
|
||||
this.swap(a, b);
|
||||
this.swap(child, b);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue