mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
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() {
|
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) {
|
private _applyProperty(property: Property, newValue: any) {
|
||||||
|
Reference in New Issue
Block a user