condition fixed

This commit is contained in:
Vladimir Enchev
2015-06-12 15:53:47 +03:00
parent 072ffed26b
commit 508817fc26

View File

@@ -102,7 +102,7 @@ function onBorderPropertyChanged(v: view.View) {
var value = <imageSource.ImageSource>v.style._getValue(styleModule.backgroundImageSourceProperty);
if ((v.borderWidth === 0 && v.borderRadius === 0) || types.isNullOrUndefined(v.backgroundColor) || types.isNullOrUndefined(value)) {
if (v.borderWidth === 0 || v.borderRadius === 0 || types.isNullOrUndefined(v.backgroundColor) || types.isNullOrUndefined(value)) {
return;
}