fix infinite loop when editor height is 0

fixes #1322
This commit is contained in:
nightwing 2013-03-24 12:15:14 +04:00
commit 339bf10335

View file

@ -326,6 +326,9 @@ var VirtualRenderer = function(container, theme) {
changes = changes | this.CHANGE_FULL; changes = changes | this.CHANGE_FULL;
} }
if (!this.$size.scrollerHeight)
return;
if (force) if (force)
this.$renderChanges(changes, true); this.$renderChanges(changes, true);
else else