mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Merge pull request #684 from jonthulu/groupMove
Fixed bug where move up and move down method in groups did not work.
This commit is contained in:
commit
1311c830a8
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