Skip to content

Commit 9f98832

Browse files
authored
Undo the changes in inlineCompletionsView.ts introduced by microsoft#252308 (microsoft#253614)
1 parent e31a87b commit 9f98832

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,11 @@ export class InlineCompletionsView extends Disposable {
8282

8383
this._register(createStyleSheetFromObservable(derived(reader => {
8484
const fontFamily = this._fontFamily.read(reader);
85-
let fontSize: string = this._editor.getOption(EditorOption.fontSize) + 'px';
86-
const cursorSelection = this._editorObs.cursorSelection.read(reader);
87-
if (cursorSelection) {
88-
fontSize = this._editor.getFontSizeAtPosition(cursorSelection.getEndPosition()) ?? fontSize;
89-
}
9085
return `
9186
.monaco-editor .ghost-text-decoration,
9287
.monaco-editor .ghost-text-decoration-preview,
9388
.monaco-editor .ghost-text {
9489
font-family: ${fontFamily};
95-
font-size: ${fontSize};
9690
}`;
9791
})));
9892

0 commit comments

Comments
 (0)