We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 984c90f commit 5e667ecCopy full SHA for 5e667ec
1 file changed
src/animations/AnimationManager.js
@@ -248,7 +248,7 @@ var AnimationManager = new Class({
248
* @since 3.0.0
249
*
250
* @param {string} key - [description]
251
- * @param {GenerateFrameNamesConfig} config - [description]
+ * @param {GenerateFrameNamesConfig} [config] - [description]
252
253
* @return {AnimationFrameConfig[]} [description]
254
*/
@@ -277,7 +277,7 @@ var AnimationManager = new Class({
277
var i;
278
var frame;
279
280
- if (frames === false)
+ if (!config)
281
{
282
// Use every frame in the atlas?
283
frames = texture.getFrameNames();
0 commit comments