mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #974 from NativeScript/switch-css
Switch color and background-color css support added
This commit is contained in:
@@ -274,10 +274,7 @@ export class View extends viewCommon.View {
|
||||
}
|
||||
|
||||
private _onBoundsChanged() {
|
||||
var bgColor = background.ios.createBackgroundUIColor(this);
|
||||
if (bgColor) {
|
||||
this._nativeView.backgroundColor = bgColor;
|
||||
}
|
||||
this.style._boundsChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user