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/05/03 13:13:42 UTC

[5/9] incubator-weex git commit: * [ios] bugfix image background color

* [ios] bugfix image background color


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

Branch: refs/heads/0.13-dev
Commit: ec82dadc81f11348da62c18a6c7070a6b2ec5f4f
Parents: ef5ed1d
Author: acton393 <zh...@gmail.com>
Authored: Thu Apr 27 19:39:08 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Apr 27 19:39:08 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ec82dadc/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
index d932b52..2c759eb 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
@@ -173,6 +173,11 @@ static dispatch_queue_t WXImageUpdateQueue;
     
 }
 
+- (BOOL)_needsDrawBorder
+{
+    return NO;
+}
+
 - (BOOL)needsDrawRect
 {
     if (_isCompositingChild) {