fix flash of hidden textarea

This commit is contained in:
Fabian Jakobs 2011-12-20 12:16:49 +01:00
commit 3b7871ce0e
30 changed files with 68 additions and 62 deletions

View file

@ -59,9 +59,11 @@ var RenderLoop = function(onRender, win) {
var _self = this;
event.nextTick(function() {
_self.pending = false;
var changes = _self.changes;
_self.changes = 0;
_self.onRender(changes);
var changes;
while (changes = _self.changes) {
_self.changes = 0;
_self.onRender(changes);
}
}, this.window);
}
};