This commit is contained in:
isidor 2019-08-26 12:09:14 +02:00
parent e02ccd0715
commit f127867e93

View file

@ -768,7 +768,7 @@ class ReplDelegate implements IListVirtualDelegate<IReplElement> {
return (nameRows + 1) * rowHeight;
}
let valueRows = countNumberOfLines(value) + Math.floor(value.length / 150);
let valueRows = value ? (countNumberOfLines(value) + Math.floor(value.length / 150)) : 0;
return rowHeight * (nameRows + valueRows);
}