Skip to content

Commit

Permalink
fix(docs): GIF loopCount default
Browse files Browse the repository at this point in the history
  • Loading branch information
matmen authored Jan 30, 2024
1 parent 51b7791 commit a498108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImageScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ class GIF extends Array {
/**
* Creates a new GIF image.
* @param {Frame[]} frames The frames to create the GIF from
* @param {number} [loopCount=0] How often to loop the GIF for (-1 = unlimited)
* @param {number} [loopCount=-1] How often to loop the GIF for (-1 = unlimited)
* @property {number} loopCount How often the GIF will loop for
*/
constructor(frames, loopCount = -1) {
Expand Down

0 comments on commit a498108

Please sign in to comment.