File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/vs/editor/contrib/inlineCompletions/browser/view Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -82,17 +82,11 @@ export class InlineCompletionsView extends Disposable {
82
82
83
83
this . _register ( createStyleSheetFromObservable ( derived ( reader => {
84
84
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
- }
90
85
return `
91
86
.monaco-editor .ghost-text-decoration,
92
87
.monaco-editor .ghost-text-decoration-preview,
93
88
.monaco-editor .ghost-text {
94
89
font-family: ${ fontFamily } ;
95
- font-size: ${ fontSize } ;
96
90
}` ;
97
91
} ) ) ) ;
98
92
You can’t perform that action at this time.
0 commit comments