优化Theme主题的自定义,切换主题时自定义配置不受影响

This commit is contained in:
monitor1394
2019-07-24 09:41:27 +08:00
parent cb6d0765ca
commit 78123b74ae
7 changed files with 13373 additions and 10923 deletions

View File

@@ -142,7 +142,7 @@ namespace XCharts
{
base.OnThemeChanged();
m_Radar.backgroundColorList.Clear();
switch (m_Theme)
switch (m_ThemeInfo.theme)
{
case Theme.Dark:
m_Radar.backgroundColorList.Add(ThemeInfo.GetColor("#6f6f6f"));