mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
[feature][bug] fix import packge error
This commit is contained in:
@@ -56,9 +56,16 @@ namespace XCharts.Runtime
|
||||
{
|
||||
if (!XChartsMgr.themes.ContainsKey(themeName))
|
||||
{
|
||||
return null;
|
||||
ReloadThemeList();
|
||||
if (XChartsMgr.themes.ContainsKey(themeName))
|
||||
return XChartsMgr.themes[themeName];
|
||||
else
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
return XChartsMgr.themes[themeName];
|
||||
}
|
||||
return XChartsMgr.themes[themeName];
|
||||
}
|
||||
|
||||
public static Theme LoadTheme(ThemeType type)
|
||||
|
||||
Reference in New Issue
Block a user