Merge pull request #974 from NativeScript/switch-css

Switch color and background-color css support added
This commit is contained in:
Vladimir Enchev
2015-10-22 13:14:18 +03:00
8 changed files with 137 additions and 5 deletions

View File

@@ -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();
}
}