Skip to content

Commit

Permalink
fix: 饼图的动画配置不生效 (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
zengyue authored Mar 9, 2022
1 parent 3f367c2 commit 094edd7
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions packages/f2/src/components/interval/view/polar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,19 @@ export default (props) => {
r: yMax,
...shape,
}}
animation={deepMix({
update: {
easing: 'linear',
duration: 450,
property: ['x', 'y', 'startAngle', 'endAngle', 'r0', 'r'],
animation={deepMix(
{
update: {
easing: 'linear',
duration: 450,
property: ['x', 'y', 'startAngle', 'endAngle', 'r0', 'r'],
},
},
})}
animation
)}
/>
);
}, animation)}
})}
</group>
);
})}
Expand Down

0 comments on commit 094edd7

Please # to comment.