You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/03/15 03:23:34 UTC

[4/7] incubator-weex git commit: * [ios] recalculate border radius if frame is changed * demo: http://dotwe.org/weex/1dd72e706721b485414bfd0b232cdd63

* [ios] recalculate border radius if frame is changed
  * demo\uff1a http://dotwe.org/weex/1dd72e706721b485414bfd0b232cdd63


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

Branch: refs/heads/0.12-dev
Commit: 1b9c86e91c393f7e06dfa6f7a974c637b47960b4
Parents: e429628
Author: \u9690\u98ce <cx...@apache.org>
Authored: Tue Mar 14 18:08:04 2017 +0800
Committer: \u9690\u98ce <cx...@apache.org>
Committed: Tue Mar 14 18:08:04 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1b9c86e9/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m b/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
index 5053cd6..ebed910 100644
--- a/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
+++ b/ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.m
@@ -126,6 +126,8 @@
                 }
             }
             
+            [self _resetNativeBorderRadius];
+            
             if (strongSelf->_transform) {
                 [strongSelf->_transform applyTransformForView:strongSelf.view];
             }