fix test=1 flag

This commit is contained in:
nightwing 2015-09-01 18:46:01 +04:00
parent 06b6fd4a3d
commit 372ea62033

View File

@ -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)