Skip to content

Commit 3d80568

Browse files
committed
Loader.isLoading is set to false if the filelist size is zero.
1 parent 692ca92 commit 3d80568

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ Version 2.0.6 - "Jornhill" - -in development-
7272
* Frame.setTrim no longer modifies the Frame width and height values.
7373
* AnimationParser doesn't populate the Pixi.TextureCache for every frame any longer. Each display object has its own texture property instead.
7474
* Removed the cacheKey parameters from the AnimationParser methods as they're no longer used.
75+
* Loader.isLoading is set to false if the filelist size is zero.
7576

7677
### CocoonJS Specific Updates
7778

src/loader/Loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,7 @@ Phaser.Loader.prototype = {
947947
this.progress = 100;
948948
this.progressFloat = 100;
949949
this.hasLoaded = true;
950+
this.isLoading = false;
950951
this.onLoadComplete.dispatch();
951952
}
952953

0 commit comments

Comments
 (0)