You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by bo...@apache.org on 2017/04/12 04:05:58 UTC

[4/6] incubator-weex git commit: * [ios] remove the overflow:hidden limit for border-x-x-radius on image component

* [ios] remove the overflow:hidden limit for border-x-x-radius on image component


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

Branch: refs/heads/0.12-dev
Commit: f8fe77352956ec7df4c0c1ef9666b065c3cdbb33
Parents: 30c8c8a
Author: \u9690\u98ce <cx...@apache.org>
Authored: Tue Apr 11 21:55:52 2017 +0800
Committer: \u9690\u98ce <cx...@apache.org>
Committed: Tue Apr 11 21:55:52 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f8fe7735/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 ba55c12..b307458 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
@@ -361,10 +361,6 @@ static dispatch_queue_t WXImageUpdateQueue;
 
 - (void)_clipsToBounds
 {
-    if (!_clipToBounds) {
-        return;
-    }
-    
     WXRoundedRect *borderRect = [[WXRoundedRect alloc] initWithRect:self.view.bounds topLeft:_borderTopLeftRadius topRight:_borderTopRightRadius bottomLeft:_borderBottomLeftRadius bottomRight:_borderBottomRightRadius];
     // here is computed radii, do not use original style
     WXRadii *radii = borderRect.radii;