Remove react to changes idea

This commit is contained in:
Daniel Imms
2022-05-10 06:20:48 -07:00
parent a67e7286d3
commit ba61509fdd
2 changed files with 2 additions and 5 deletions
-2
View File
@@ -75,7 +75,6 @@ class Decoration extends Disposable implements IInternalDecoration {
private _onDispose = this.register(new EventEmitter<void>());
public readonly onDispose = this._onDispose.event;
// TODO: React to changes on options
private _cachedBg: IColor | undefined | null = null;
public get backgroundColorRGB(): IColor | undefined {
if (this._cachedBg === null) {
@@ -88,7 +87,6 @@ class Decoration extends Disposable implements IInternalDecoration {
return this._cachedBg;
}
// TODO: React to changes on options
private _cachedFg: IColor | undefined | null = null;
public get foregroundColorRGB(): IColor | undefined {
if (this._cachedFg === null) {