gif.js icon indicating copy to clipboard operation
gif.js copied to clipboard

Simple validation for render method

Open eagleloid opened this issue 4 years ago • 0 comments

Just added a validation check for the render method in case user attempt to render without any frames. Allows the user to call it again without having to reconstruct the class.

Also set the @running variable to false after 'finished' is emitted in the finishRendering method for similar reason as above.

eagleloid avatar Jan 16 '21 21:01 eagleloid