修复TMP下Theme不显示TMPFont的问题 #143

This commit is contained in:
monitor1394
2021-05-11 21:00:26 +08:00
parent 14e4f439f8
commit a30c036245

View File

@@ -58,7 +58,11 @@ namespace XCharts
{
XThemeMgr.SwitchTheme(chart, chartNameList[selectedIndex]);
}
#if dUI_TextMeshPro
PropertyField(prop, "m_TMPFont");
#else
PropertyField(prop, "m_Font");
#endif
PropertyField(prop, "m_ContrastColor");
PropertyField(prop, "m_BackgroundColor");
PropertyField(prop, "m_ColorPalette");