Fix dependency injection for decoration service

This commit is contained in:
Daniel Imms
2022-03-14 15:52:32 -07:00
parent 4b615f48ff
commit 65b9a6cfc4
5 changed files with 15 additions and 12 deletions
@@ -23,12 +23,12 @@ export class OverviewRulerRenderer extends Disposable {
private _x: number | undefined;
constructor(
private readonly _viewportElement: HTMLElement,
private readonly _screenElement: HTMLElement,
@IBufferService private readonly _bufferService: IBufferService,
@IRenderService private readonly _renderService: IRenderService,
@IDecorationService private readonly _decorationService: IDecorationService,
@IInstantiationService private readonly _instantiationService: IInstantiationService,
private readonly _viewportElement: HTMLElement,
private readonly _screenElement: HTMLElement
@IRenderService private readonly _renderService: IRenderService
) {
super();
this._canvas = document.createElement('canvas');