Skip to content

Commit

Permalink
Added missing parameter to begincount
Browse files Browse the repository at this point in the history
Close GH-44
  • Loading branch information
hrj committed Aug 15, 2017
1 parent 505a026 commit 2e06555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flif-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
load(src, bytes, function(content) {
setTimeout(function() {
var pf = new PolyFlif({"buf": content, "canvas": elem});
pf["beginCount"](-1, rw, rh);
pf["beginCount"](true, -1, rw, rh);
}, 1);
});
}
Expand All @@ -332,7 +332,7 @@
}
setTimeout(function() {
var pf = new PolyFlif({"buf": content, "canvas": cElem, onload: loaded});
pf["beginCount"](-1, 0, 0);
pf["beginCount"](true, -1, 0, 0);
}, 1);
});
}
Expand Down

0 comments on commit 2e06555

Please sign in to comment.