diff --git a/ui/styling/style.ts b/ui/styling/style.ts index 7332d0f4a..1ebe2aba2 100644 --- a/ui/styling/style.ts +++ b/ui/styling/style.ts @@ -601,7 +601,9 @@ export class Style extends DependencyObservable implements styling.Style { } public _boundsChanged() { - this._applyProperty(backgroundInternalProperty, this._getValue(backgroundInternalProperty)); + if (!(this._getValue(backgroundInternalProperty)).isEmpty()) { + this._applyProperty(backgroundInternalProperty, this._getValue(backgroundInternalProperty)); + } } private _applyProperty(property: Property, newValue: any) {