Skip to content

Commit

Permalink
Update gif.coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
huzunjie authored Jun 21, 2021
1 parent 5208200 commit cde7293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gif.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class GIF extends EventEmitter
@_canvas.height = @options.height

ctx = @_canvas.getContext '2d'
ctx.setFill = @options.background
ctx.fillStyle = @options.background
ctx.fillRect 0, 0, @options.width, @options.height
ctx.drawImage image, 0, 0

Expand Down

0 comments on commit cde7293

Please sign in to comment.