Remove instantiation service from canvas addon completely

This commit is contained in:
Daniel Imms
2022-07-28 11:31:51 -07:00
parent 60f9bf4398
commit 055bcce18d
8 changed files with 36 additions and 30 deletions
@@ -35,10 +35,10 @@ export class TextRenderLayer extends BaseRenderLayer {
colors: IColorSet,
alpha: boolean,
rendererId: number,
@IBufferService bufferService: IBufferService,
@IOptionsService optionsService: IOptionsService,
@ICharacterJoinerService private readonly _characterJoinerService: ICharacterJoinerService,
@IDecorationService decorationService: IDecorationService
bufferService: IBufferService,
optionsService: IOptionsService,
private readonly _characterJoinerService: ICharacterJoinerService,
decorationService: IDecorationService
) {
super(container, 'text', zIndex, alpha, colors, rendererId, bufferService, optionsService, decorationService);
this._state = new GridCache<CharData>();