mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 01:10:08 +00:00
3.0
This commit is contained in:
@@ -220,7 +220,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
m_Theme.sharedTheme = XCThemeMgr.GetTheme(ThemeType.Default);
|
||||
}
|
||||
if (m_CheckTheme != m_Theme.themeType)
|
||||
if (m_Theme.sharedTheme != null && m_CheckTheme != m_Theme.themeType)
|
||||
{
|
||||
m_CheckTheme = m_Theme.themeType;
|
||||
m_Theme.sharedTheme.CopyTheme(m_CheckTheme);
|
||||
@@ -536,7 +536,8 @@ namespace XCharts.Runtime
|
||||
serie.context.colorIndex = GetLegendRealShowNameIndex(serie.legendName);
|
||||
serie.context.dataPoints.Clear();
|
||||
serie.context.dataIgnores.Clear();
|
||||
AnimationStyleHelper.UpdateSerieAnimation(serie);
|
||||
serie.animation.context.isAllItemAnimationEnd = true;
|
||||
|
||||
if (m_OnDrawSerieBefore != null)
|
||||
{
|
||||
m_OnDrawSerieBefore.Invoke(vh, serie);
|
||||
|
||||
Reference in New Issue
Block a user