Repository: incubator-weex Updated Branches: refs/heads/master 02e9a1cf5 -> feb096490
[WEEX-343] [iOS] Failure of "scaleY" on animationModule Because of a very old mistake, when parsing the transform property, the error scaleY is parsed, you can see demo in http://dotwe.org/vue/95a7067fde100e6b8f5219d4bf1913c3 Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/feb09649 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/feb09649 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/feb09649 Branch: refs/heads/master Commit: feb096490acf378aed0ee734f963e6c09d6a59b7 Parents: 02e9a1c Author: doumafang <doumaf...@gmail.com> Authored: Mon May 7 16:57:28 2018 +0800 Committer: doumafang <doumaf...@gmail.com> Committed: Mon May 7 16:57:28 2018 +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/feb09649/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 a6e2eb5..1513416 100644 --- a/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m +++ b/ios/sdk/WeexSDK/Sources/Module/WXAnimationModule.m @@ -245,7 +245,7 @@ WX_EXPORT_METHOD(@selector(transition:args:callback:)) WXAnimationInfo *newInfo = [info copy]; newInfo.propertyName = @"transform.scale.y"; newInfo.fromValue = @(oldTransform.scaleY); - newInfo.toValue = @(wxTransform.scaleX); + newInfo.toValue = @(wxTransform.scaleY); [infos addObject:newInfo]; }