fix test=1 flag

pull/134/merge
nightwing 2015-09-01 18:46:01 +04:00
rodzic 06b6fd4a3d
commit 372ea62033
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -536,7 +536,7 @@ var VirtualRenderer = function(container, cellWidth, cellHeight) {
var height = this.provider.getTotalHeight() + headingHeight;
var maxHeight = this.getMaxHeight
? this.getMaxHeight()
: this.$maxLines * this.provider.rowHeight + headingHeight
: this.$maxLines * this.provider.rowHeight + headingHeight;
var desiredHeight = Math.max(
(this.$minLines || 1) * this.provider.rowHeight + headingHeight,
Math.min(maxHeight, height)