You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/03/07 06:21:56 UTC
[07/19] incubator-weex git commit: * [ios] correct comment
* [ios] correct comment
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/0b9f3326
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/0b9f3326
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/0b9f3326
Branch: refs/heads/0.11-dev
Commit: 0b9f33264f20765240bebe5f61b5d2019c74cf32
Parents: f2141ad
Author: acton393 <zh...@gmail.com>
Authored: Wed Feb 22 11:34:04 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Wed Feb 22 11:34:04 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0b9f3326/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m b/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m
index d2189dc..47a185f 100644
--- a/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m
+++ b/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m
@@ -140,7 +140,7 @@ WX_EXPORT_METHOD(@selector(transition:args:callback:))
Here comes the black magic: In the scale transformation, change the z parameter to anything different from 1.0, the jump is gone.
See http://stackoverflow.com/questions/27931421/cgaffinetransform-scale-and-translation-jump-before-animation
- this maybe will blur your view, we will revert the sz when the animation finish.
+ this maybe blur your view, we will revert the sz when the animation finish.
**/
layer.transform = CATransform3DScale(transform, 1, 1, sz);
}