mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-30 05:08:48 +00:00
修复Tooltip的圆点标记不会自适应颜色的问题
This commit is contained in:
@@ -93,7 +93,7 @@ namespace XCharts.Runtime
|
|||||||
column.SetActive(true);
|
column.SetActive(true);
|
||||||
column.SetText(param.columns[j]);
|
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);
|
column.text.SetColor(param.color);
|
||||||
|
|
||||||
if (j >= m_ColumnMaxWidth.Count)
|
if (j >= m_ColumnMaxWidth.Count)
|
||||||
|
|||||||
Reference in New Issue
Block a user