修复Tooltop的第一个ContentLabelStyle设置color无效的问题

This commit is contained in:
monitor1394
2024-01-07 22:13:03 +08:00
parent 91db00a173
commit c3489fbc1e
4 changed files with 15 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ namespace XCharts.Runtime
column.SetActive(true);
column.SetText(param.columns[j]);
if (j == 0)
if (j == 0 && ChartHelper.IsClearColor(column.text.GetColor()))
column.text.SetColor(param.color);
if (j >= m_ColumnMaxWidth.Count)