Fixed black background on some controls in iOS.

This commit is contained in:
Nedyalko Nikolov
2015-10-23 18:49:56 +03:00
parent 033e0d4bfc
commit 67624cfe57

View File

@ -601,7 +601,9 @@ export class Style extends DependencyObservable implements styling.Style {
}
public _boundsChanged() {
this._applyProperty(backgroundInternalProperty, this._getValue(backgroundInternalProperty));
if (!(<background.Background>this._getValue(backgroundInternalProperty)).isEmpty()) {
this._applyProperty(backgroundInternalProperty, this._getValue(backgroundInternalProperty));
}
}
private _applyProperty(property: Property, newValue: any) {