Use options service directly in renderers

This commit is contained in:
Daniel Imms
2022-10-09 09:28:18 -07:00
parent 8ac88bc6bf
commit e47296c1b9
6 changed files with 11 additions and 9 deletions
+1
View File
@@ -79,6 +79,7 @@ export class DomRenderer extends Disposable implements IRenderer {
actualCellHeight: 0
};
this._updateDimensions();
this.register(this._optionsService.onOptionChange(() => this.handleOptionsChanged()));
this.register(themeService.onChangeColors(e => this._injectCss(e)));
this._injectCss(themeService.colors);