diff --git a/Editor/PropertyDrawers/ThemeDrawer.cs b/Editor/PropertyDrawers/ThemeDrawer.cs index 7cc4fdff..d7c5842b 100644 --- a/Editor/PropertyDrawers/ThemeDrawer.cs +++ b/Editor/PropertyDrawers/ThemeDrawer.cs @@ -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");