mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Merge pull request #984 from NativeScript/nnikolov/BlackBackgroundIssue
Fixed black background on some controls in iOS.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user