mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 18:00:26 +00:00
3.0 - bar chart
This commit is contained in:
@@ -104,12 +104,6 @@ namespace XCharts
|
||||
set
|
||||
{
|
||||
m_TMPFont = value;
|
||||
if(value)
|
||||
{
|
||||
m_TMPFontName = value.name;
|
||||
m_TMPFontInstanceId = value.GetInstanceID();
|
||||
}
|
||||
SetComponentDirty();
|
||||
SyncTMPFontToSubComponent();
|
||||
}
|
||||
}
|
||||
@@ -364,11 +358,7 @@ namespace XCharts
|
||||
subTitle.tmpFont = tmpFont;
|
||||
legend.tmpFont = tmpFont;
|
||||
axis.tmpFont = tmpFont;
|
||||
radiusAxis.tmpFont = tmpFont;
|
||||
angleAxis.tmpFont = tmpFont;
|
||||
polar.tmpFont = tmpFont;
|
||||
gauge.tmpFont = tmpFont;
|
||||
radar.tmpFont = tmpFont;
|
||||
tooltip.tmpFont = tmpFont;
|
||||
dataZoom.tmpFont = tmpFont;
|
||||
visualMap.tmpFont = tmpFont;
|
||||
|
||||
@@ -155,7 +155,7 @@ namespace XCharts
|
||||
public void CheckWarning(StringBuilder sb)
|
||||
{
|
||||
#if dUI_TextMeshPro
|
||||
if (m_Profile.tmpFont == null)
|
||||
if (sharedTheme.tmpFont == null)
|
||||
{
|
||||
sb.AppendFormat("warning:theme->tmpFont is null\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user