Skip to content

Commit 149e999

Browse files
author
Andrew Start
committed
Fixed error in Stage.destroy().
1 parent 5d8fc58 commit 149e999

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

bin/pixi.dev.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright (c) 2012-2014, Mat Groves
55
* http://goodboydigital.com/
66
*
7-
* Compiled: 2015-01-16
7+
* Compiled: 2015-01-22
88
*
99
* pixi.js is licensed under the MIT License.
1010
* http://www.opensource.org/licenses/mit-license.php
@@ -5518,12 +5518,12 @@ PIXI.InteractionManager.prototype.onTouchEnd = function(event)
55185518
* @constructor
55195519
* @param backgroundColor {Number} the background color of the stage, you have to pass this in is in hex format
55205520
* like: 0xFFFFFF for white
5521-
*
5522-
* Creating a stage is a mandatory process when you use Pixi, which is as simple as this :
5521+
*
5522+
* Creating a stage is a mandatory process when you use Pixi, which is as simple as this :
55235523
* var stage = new PIXI.Stage(0xFFFFFF);
55245524
* where the parameter given is the background colour of the stage, in hex
55255525
* you will use this stage instance to add your sprites to it and therefore to the renderer
5526-
* Here is how to add a sprite to the stage :
5526+
* Here is how to add a sprite to the stage :
55275527
* stage.addChild(sprite);
55285528
*/
55295529
PIXI.Stage = function(backgroundColor)
@@ -5599,7 +5599,7 @@ PIXI.Stage.prototype.setInteractionDelegate = function(domElement)
55995599
PIXI.Stage.prototype.updateTransform = function()
56005600
{
56015601
//update the interaction manager first, so it detects stuff based on the frame that was just shown
5602-
//this also fixes issues when it triggers changes to sprite anchor points, as opposed to updating
5602+
//this also fixes issues when it triggers changes to sprite anchor points, as opposed to updating
56035603
//the interaction manager after updating tranforms on all children
56045604
if(this.interactive)this.interactionManager.update();
56055605
this.worldAlpha = 1;
@@ -5656,7 +5656,7 @@ PIXI.Stage.prototype.getMousePosition = function()
56565656

56575657
PIXI.Stage.prototype.destroy = function()
56585658
{
5659-
this.removeChildren(true);
5659+
this.removeChildren();
56605660
this.stage = null;
56615661
this.hitArea = null;
56625662
this.interactionManager.cleanup();

0 commit comments

Comments
 (0)