提交 efef7c1d 编写于 作者: J Johannes Rieken

layout code lens content widget when adding commands, fixes...

layout code lens content widget when adding commands, fixes https://github.com/microsoft/vscode/issues/110332
上级 bcf2f23c
......@@ -237,7 +237,9 @@ export class CodeLensWidget {
private _createContentWidgetIfNecessary(): void {
if (!this._contentWidget) {
this._contentWidget = new CodeLensContentWidget(this._editor, this._className, this._viewZone.afterLineNumber + 1);
this._editor.addContentWidget(this._contentWidget!);
this._editor.addContentWidget(this._contentWidget);
} else {
this._editor.layoutContentWidget(this._contentWidget);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册