mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 14:00:12 +00:00
修复TMP开启时Axis运行报错
This commit is contained in:
@@ -43,7 +43,7 @@ namespace XCharts
|
||||
if (label == null) continue;
|
||||
if (label.InRect(chart.pointerPos))
|
||||
{
|
||||
component.onLabelClick.Invoke(i, label.text.text.text);
|
||||
component.onLabelClick.Invoke(i, label.GetText());
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -456,7 +456,7 @@ namespace XCharts
|
||||
}
|
||||
if(content == null)
|
||||
{
|
||||
content = label.text.text.text;
|
||||
content = label.GetText();
|
||||
}
|
||||
if (axis.IsValue())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user