修复Animation变更动画可能无效的问题

This commit is contained in:
monitor1394
2023-03-03 22:41:00 +08:00
parent c42ca0f097
commit 64c9b97eb9
2 changed files with 2 additions and 1 deletions

View File

@@ -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接口

View File

@@ -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;