mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
Merge pull request #6197 from samme/fix/getTextureKeys-white
Exclude __WHITE in getTextureKeys()
This commit is contained in:
commit
5c4f4a3450
1 changed files with 2 additions and 2 deletions
|
@ -1038,7 +1038,7 @@ var TextureManager = new Class({
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array with all of the keys of all Textures in this Texture Manager.
|
* Returns an array with all of the keys of all Textures in this Texture Manager.
|
||||||
* The output array will exclude the `__DEFAULT` and `__MISSING` keys.
|
* The output array will exclude the `__DEFAULT`, `__MISSING`, and `__WHITE` keys.
|
||||||
*
|
*
|
||||||
* @method Phaser.Textures.TextureManager#getTextureKeys
|
* @method Phaser.Textures.TextureManager#getTextureKeys
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
|
@ -1051,7 +1051,7 @@ var TextureManager = new Class({
|
||||||
|
|
||||||
for (var key in this.list)
|
for (var key in this.list)
|
||||||
{
|
{
|
||||||
if (key !== '__DEFAULT' && key !== '__MISSING')
|
if (key !== '__DEFAULT' && key !== '__MISSING' && key !== '__WHITE')
|
||||||
{
|
{
|
||||||
output.push(key);
|
output.push(key);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue