mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-27 19:50:10 +00:00
修复TMP下Theme不显示TMPFont的问题 #143
This commit is contained in:
@@ -58,7 +58,11 @@ namespace XCharts
|
|||||||
{
|
{
|
||||||
XThemeMgr.SwitchTheme(chart, chartNameList[selectedIndex]);
|
XThemeMgr.SwitchTheme(chart, chartNameList[selectedIndex]);
|
||||||
}
|
}
|
||||||
|
#if dUI_TextMeshPro
|
||||||
|
PropertyField(prop, "m_TMPFont");
|
||||||
|
#else
|
||||||
PropertyField(prop, "m_Font");
|
PropertyField(prop, "m_Font");
|
||||||
|
#endif
|
||||||
PropertyField(prop, "m_ContrastColor");
|
PropertyField(prop, "m_ContrastColor");
|
||||||
PropertyField(prop, "m_BackgroundColor");
|
PropertyField(prop, "m_BackgroundColor");
|
||||||
PropertyField(prop, "m_ColorPalette");
|
PropertyField(prop, "m_ColorPalette");
|
||||||
|
|||||||
Reference in New Issue
Block a user