when making a gif, copy the current canvas because it can be changed while generating

TODO: fully featured gif editor
main
Isaiah Odhner 2014-03-13 02:37:01 -04:00
parent 5397e53cb9
commit c6e0fafb90
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -484,7 +484,7 @@ app.open = function(){
for(var i=0; i<undos.length; i++){
gif.addFrame(undos[i], {delay: 200});
}
gif.addFrame(canvas, {delay: 200});
gif.addFrame(canvas, {delay: 200, copy: true});
gif.render();
}