don't swallow redraws

This commit is contained in:
Leo Horie 2016-06-30 23:46:47 -04:00
parent 88b91b1073
commit 9afefe0fd7
2 changed files with 26 additions and 2 deletions

View file

@ -13,7 +13,7 @@ module.exports = function(callback) {
}
else if (pending === null) {
pending = timeout(function() {
pending = 0
pending = null
callback()
last = new Date().getTime()
}, time - (now - last))