修复Tooltip的圆点标记不会自适应颜色的问题

This commit is contained in:
monitor1394
2024-02-19 08:53:31 +08:00
parent 74e75e93af
commit 2505a48ac2

View File

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