diff --git a/Documentation~/zh/changelog.md b/Documentation~/zh/changelog.md index df87dfd9..c003c30f 100644 --- a/Documentation~/zh/changelog.md +++ b/Documentation~/zh/changelog.md @@ -65,6 +65,7 @@ slug: /changelog ## master +* (2023.03.03) 修复`Animation`变更动画可能无效的问题 * (2023.02.28) 修复`Legend`点击时`Serie`的`Label`不刷新的问题 * (2023.02.26) 增加`DataZoom`的`startEndFunction`委托 * (2023.02.12) 重构`Component`相关代码,调整API接口 diff --git a/Runtime/Component/Animation/AnimationStyle.cs b/Runtime/Component/Animation/AnimationStyle.cs index 586e66a3..beaabd01 100644 --- a/Runtime/Component/Animation/AnimationStyle.cs +++ b/Runtime/Component/Animation/AnimationStyle.cs @@ -622,7 +622,7 @@ namespace XCharts.Runtime public float GetUpdateAnimationDuration() { - if (m_Enable && m_DataChangeEnable && IsFinish()) + if (m_Enable && m_DataChangeEnable) return m_DataChangeDuration; else return 0;