don't swallow redraws
This commit is contained in:
parent
88b91b1073
commit
9afefe0fd7
2 changed files with 26 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue