This commit is contained in:
meganrogge
2022-02-08 12:05:38 -06:00
parent cae9f44f5c
commit 19b9d0eadd
4 changed files with 1 additions and 11 deletions
-8
View File
@@ -152,14 +152,6 @@ export class DomRenderer extends Disposable implements IRenderer {
this._injectCss();
}
public registerDecoration(decorationOptions: IDecorationOptions): IDecoration {
// const decorationLayer = this._renderLayers.find(l => l instanceof DecorationRenderLayer);
// if (decorationLayer instanceof DecorationRenderLayer) {
// return decorationLayer.registerDecoration(decorationOptions);
// }
throw new Error('no decoration layer');
}
private _injectCss(): void {
if (!this._themeStyleElement) {
this._themeStyleElement = document.createElement('style');