mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 23:40:10 +00:00
重构Animation动画系统,增加Addition新增动画支持
This commit is contained in:
@@ -136,7 +136,7 @@ namespace XCharts.Runtime
|
||||
InitComponentHandlers();
|
||||
InitSerieHandlers();
|
||||
AnimationReset();
|
||||
AnimationFadein();
|
||||
AnimationFadeIn();
|
||||
XChartsMgr.AddChart(this);
|
||||
}
|
||||
|
||||
@@ -416,7 +416,7 @@ namespace XCharts.Runtime
|
||||
if (!m_CheckAnimation)
|
||||
{
|
||||
m_CheckAnimation = true;
|
||||
AnimationFadein();
|
||||
AnimationFadeIn();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -590,7 +590,7 @@ namespace XCharts.Runtime
|
||||
serie.context.dataIndexs.Clear();
|
||||
serie.context.dataIgnores.Clear();
|
||||
serie.animation.context.isAllItemAnimationEnd = true;
|
||||
if (serie.show && !serie.animation.HasFadeout())
|
||||
if (serie.show && !serie.animation.HasFadeOut())
|
||||
{
|
||||
if (!serie.context.pointerEnter)
|
||||
serie.ResetInteract();
|
||||
|
||||
Reference in New Issue
Block a user