enable registering a decoration before attach to dom has happened

This commit is contained in:
meganrogge
2022-03-09 08:40:40 -06:00
parent 1948ec886f
commit cfd7912afa
3 changed files with 29 additions and 28 deletions
+1 -1
View File
@@ -119,6 +119,6 @@ export interface ICharacterJoinerService {
export const IDecorationService = createDecorator<IDecorationService>('DecorationService');
export interface IDecorationService extends IDisposable {
attachToDom(scrollbarDecorationNode: HTMLCanvasElement, screenElement: HTMLElement, viewportElement: HTMLElement, renderService: IRenderService): void;
attachToDom(renderService: IRenderService, screenElement: HTMLElement, viewportElement: HTMLElement, scrollbarDecorationNode: HTMLCanvasElement): void;
registerDecoration(decorationOptions: IDecorationOptions): IDecoration | undefined;
}