You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/07/13 07:55:47 UTC

[2/3] incubator-weex git commit: * [ios] add some change note.

* [ios] add some change note.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f4e0d1e6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f4e0d1e6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f4e0d1e6

Branch: refs/heads/0.15-dev
Commit: f4e0d1e6f0c20c560e35b9dbf94fabc0e259bbbd
Parents: 2962f01
Author: boboning <ni...@163.com>
Authored: Thu Jul 13 15:41:55 2017 +0800
Committer: boboning <ni...@163.com>
Committed: Thu Jul 13 15:41:55 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f4e0d1e6/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
index 74cc4b5..bf1c0cf 100644
--- a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
+++ b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
@@ -285,7 +285,7 @@ do {\
         [self setNeedsDisplay];
     }
     if (styles && [styles containsObject:@"backgroundImage"]) {
-        _backgroundImage = @"linear-gradient(to left,rgba(255,255,255,0),rgba(255,255,255,0))";
+        _backgroundImage = @"linear-gradient(to left,rgba(255,255,255,0),rgba(255,255,255,0))"; // if backgroundImage is nil, give defalut color value.
         [self setGradientLayer];
     }