mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Update src/browser/services/DecorationService.ts
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
53606820a7
commit
a9b496f06f
@@ -61,9 +61,9 @@ export class DecorationService extends Disposable implements IDecorationService
|
||||
export const IDecorationService = createDecorator<IDecorationService>('DecorationService');
|
||||
class Decoration extends Disposable implements IDecoration {
|
||||
private static _nextId = 1;
|
||||
private _marker: IMarker;
|
||||
private readonly _marker: IMarker;
|
||||
private _element: HTMLElement | undefined;
|
||||
private _id: number = Decoration._nextId++;
|
||||
private readonly _id: number = Decoration._nextId++;
|
||||
public isDisposed: boolean = false;
|
||||
|
||||
public get id(): number { return this._id; }
|
||||
|
||||
Reference in New Issue
Block a user