mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 14:30:10 +00:00
修复Tooltip在鼠标移出图表外可能绘制异常的问题
This commit is contained in:
@@ -162,9 +162,10 @@ namespace XCharts
|
||||
RefreshChart();
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (m_Tooltip.IsActive())
|
||||
{
|
||||
m_Tooltip.SetActive(false);
|
||||
RefreshChart();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,7 +193,11 @@ namespace XCharts
|
||||
}
|
||||
if (index < 0)
|
||||
{
|
||||
m_Tooltip.SetActive(false);
|
||||
if (m_Tooltip.IsActive())
|
||||
{
|
||||
m_Tooltip.SetActive(false);
|
||||
RefreshChart();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user