|
4 | 4 | * Copyright (c) 2012-2014, Mat Groves |
5 | 5 | * http://goodboydigital.com/ |
6 | 6 | * |
7 | | - * Compiled: 2015-01-16 |
| 7 | + * Compiled: 2015-01-22 |
8 | 8 | * |
9 | 9 | * pixi.js is licensed under the MIT License. |
10 | 10 | * http://www.opensource.org/licenses/mit-license.php |
@@ -5518,12 +5518,12 @@ PIXI.InteractionManager.prototype.onTouchEnd = function(event) |
5518 | 5518 | * @constructor |
5519 | 5519 | * @param backgroundColor {Number} the background color of the stage, you have to pass this in is in hex format |
5520 | 5520 | * 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 : |
5523 | 5523 | * var stage = new PIXI.Stage(0xFFFFFF); |
5524 | 5524 | * where the parameter given is the background colour of the stage, in hex |
5525 | 5525 | * 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 : |
5527 | 5527 | * stage.addChild(sprite); |
5528 | 5528 | */ |
5529 | 5529 | PIXI.Stage = function(backgroundColor) |
@@ -5599,7 +5599,7 @@ PIXI.Stage.prototype.setInteractionDelegate = function(domElement) |
5599 | 5599 | PIXI.Stage.prototype.updateTransform = function() |
5600 | 5600 | { |
5601 | 5601 | //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 |
5603 | 5603 | //the interaction manager after updating tranforms on all children |
5604 | 5604 | if(this.interactive)this.interactionManager.update(); |
5605 | 5605 | this.worldAlpha = 1; |
@@ -5656,7 +5656,7 @@ PIXI.Stage.prototype.getMousePosition = function() |
5656 | 5656 |
|
5657 | 5657 | PIXI.Stage.prototype.destroy = function() |
5658 | 5658 | { |
5659 | | - this.removeChildren(true); |
| 5659 | + this.removeChildren(); |
5660 | 5660 | this.stage = null; |
5661 | 5661 | this.hitArea = null; |
5662 | 5662 | this.interactionManager.cleanup(); |
|
0 commit comments