Skip to content

Commit f8f5f06

Browse files
authored
fix(docs): GIF loopCount default
1 parent 3d8a13f commit f8f5f06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ImageScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ class GIF extends Array {
13361336
/**
13371337
* Creates a new GIF image.
13381338
* @param {Frame[]} frames The frames to create the GIF from
1339-
* @param {number} [loopCount=0] How often to loop the GIF for (-1 = unlimited)
1339+
* @param {number} [loopCount=-1] How often to loop the GIF for (-1 = unlimited)
13401340
* @property {number} loopCount How often the GIF will loop for
13411341
*/
13421342
constructor(frames, loopCount = -1) {

0 commit comments

Comments
 (0)