This commit is contained in:
parent
82f3379ac6
commit
75f4a581b7
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ export class CodeLensContribution implements IEditorContribution {
|
|||
newStyle += `.monaco-editor .codelens-decoration.${this._styleClassName} { font-family: var(${fontFamilyVar})}`;
|
||||
}
|
||||
this._styleElement.textContent = newStyle;
|
||||
this._editor.getDomNode()?.style.setProperty(fontFamilyVar, fontFamily ?? 'inherit');
|
||||
this._editor.getContainerDomNode().style.setProperty(fontFamilyVar, fontFamily ?? 'inherit');
|
||||
|
||||
//
|
||||
this._editor.changeViewZones(accessor => {
|
||||
|
|
Loading…
Reference in a new issue