diff --git a/src/node/extend.js b/src/node/extend.js index befbafb3..f7101795 100644 --- a/src/node/extend.js +++ b/src/node/extend.js @@ -116,7 +116,7 @@ module.exports = function(paper) { options.onProgress({ count: count, amount: options.amount, - percentage: Math.round(count / options.amount + percentage: Math.round((count + 1) / options.amount * 10000) / 100, time: then - startTime, delta: then - lastTime