From b3a390ad78060226d04c5d02968259e6387abb9a Mon Sep 17 00:00:00 2001 From: zealotchen Date: Mon, 21 Oct 2024 17:39:47 +0800 Subject: [PATCH] feat(web): fix webrender scawX scawY animation --- .../examples/hippy-react-demo/src/modules/Animation/index.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/driver/js/examples/hippy-react-demo/src/modules/Animation/index.jsx b/driver/js/examples/hippy-react-demo/src/modules/Animation/index.jsx index 6f48554bea4..866eed69e7b 100644 --- a/driver/js/examples/hippy-react-demo/src/modules/Animation/index.jsx +++ b/driver/js/examples/hippy-react-demo/src/modules/Animation/index.jsx @@ -154,6 +154,7 @@ export default class AnimationExample extends React.Component { duration: 2000, delay: 0, mode: 'timing', + valueType: 'deg', timingFunction: 'linear', }), follow: false, // 配置子动画的执行是否跟随执行 @@ -165,6 +166,7 @@ export default class AnimationExample extends React.Component { duration: 2000, delay: 0, mode: 'timing', + valueType: 'deg', timingFunction: 'linear', }), follow: true, @@ -182,6 +184,7 @@ export default class AnimationExample extends React.Component { duration: 2000, delay: 0, mode: 'timing', + valueType: 'deg', timingFunction: 'linear', }), follow: false, // 配置子动画的执行是否跟随执行 @@ -193,6 +196,7 @@ export default class AnimationExample extends React.Component { duration: 2000, delay: 0, mode: 'timing', + valueType: 'deg', timingFunction: 'linear', }), follow: true,