优化Theme

This commit is contained in:
monitor1394
2021-04-01 08:14:04 +08:00
parent c67ff7253d
commit eda93f0776
2 changed files with 12 additions and 3 deletions

View File

@@ -117,6 +117,10 @@ namespace XCharts
{
m_Theme.font = XChartsSettings.font;
}
if (m_Theme.colorPalette.Count == 0)
{
m_Theme.ResetTheme();
}
}
base.Awake();
m_Series.AnimationReset();