[bug] fix multipe grid error (#210)

This commit is contained in:
monitor1394
2022-07-05 21:43:09 +08:00
parent a499002426
commit 9aa8431432
11 changed files with 33 additions and 73 deletions

View File

@@ -58,6 +58,11 @@ namespace XCharts.Runtime
{
m_Active = flag && tooltip.showContent;
ChartHelper.SetActive(gameObject, m_Active);
if (!flag)
{
foreach (var item in m_Items)
item.gameObject.SetActive(false);
}
}
public void Refresh()