Merge pull request #984 from NativeScript/nnikolov/BlackBackgroundIssue

Fixed black background on some controls in iOS.
This commit is contained in:
Nedyalko Nikolov
2015-10-26 10:32:26 +02:00

View File

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