remove test

This commit is contained in:
meganrogge
2022-03-15 12:56:34 -04:00
parent 80e7963dbe
commit e7e9d5ca4c
6 changed files with 15 additions and 21 deletions
@@ -106,6 +106,9 @@ export class BufferDecorationRenderer extends Disposable {
private _removeDecoration(decoration: IInternalDecoration): void {
const element = this._decorationElements.get(decoration);
if (element && this._container && this._container.contains(element)) {
this._container.removeChild(element);
}
element?.remove();
this._decorationElements.delete(decoration);
}