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