Skip to content

Commit 5e667ec

Browse files
committed
Fixed 'all frames' check
1 parent 984c90f commit 5e667ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/animations/AnimationManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ var AnimationManager = new Class({
248248
* @since 3.0.0
249249
*
250250
* @param {string} key - [description]
251-
* @param {GenerateFrameNamesConfig} config - [description]
251+
* @param {GenerateFrameNamesConfig} [config] - [description]
252252
*
253253
* @return {AnimationFrameConfig[]} [description]
254254
*/
@@ -277,7 +277,7 @@ var AnimationManager = new Class({
277277
var i;
278278
var frame;
279279

280-
if (frames === false)
280+
if (!config)
281281
{
282282
// Use every frame in the atlas?
283283
frames = texture.getFrameNames();

0 commit comments

Comments
 (0)