提交 a02fc72c 编写于 作者: R Rob Lourens 提交者: isidor

Fix #19550 -

Only skip the string height measurement if the variable has children (is an object/array) or has a name (is a prop of an object/array)
上级 8dd1995e
......@@ -107,7 +107,7 @@ export class ReplExpressionsRenderer implements IRenderer {
}
public getHeight(tree: ITree, element: any): number {
if (element instanceof Variable) {
if (element instanceof Variable && (element.hasChildren || (element.name !== null))) {
return ReplExpressionsRenderer.LINE_HEIGHT_PX;
}
if (element instanceof Expression && element.hasChildren) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册