提交 697cb96a 编写于 作者: J Joao Moreno

Revert "improve suggest widget scaling"

This reverts commit d9d9369d.
上级 d9d9369d
......@@ -796,14 +796,14 @@ export class SuggestWidget implements IContentWidget, IDelegate<CompletionItem>,
private get lineHeight(): number {
const { fontSize } = this.editor.getConfiguration();
return Math.floor(fontSize * 1.6);
return Math.floor(fontSize * 1.7);
}
getHeight(element: CompletionItem): number {
const focus = this.list.getFocus()[0];
if (element.suggestion.documentationLabel && element === focus) {
return Math.floor(this.lineHeight * 1.8);
return Math.floor(this.lineHeight * 1.7);
}
return this.lineHeight;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册