mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 17:00:08 +00:00
优化Legend初始化,防止出现预设下删除异常的问题
This commit is contained in:
@@ -291,7 +291,7 @@ namespace XCharts
|
||||
totalLegend++;
|
||||
}
|
||||
m_Legend.RemoveButton();
|
||||
ChartHelper.DestroyAllChildren(legendObject.transform);
|
||||
ChartHelper.HideAllObject(legendObject);
|
||||
if (!m_Legend.show) return;
|
||||
for (int i = 0; i < datas.Count; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user