mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:06:57 +00:00
fixes #79696
This commit is contained in:
parent
e02ccd0715
commit
f127867e93
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue