mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 23:40:10 +00:00
修复Tooltip在鼠标移出图表外可能绘制异常的问题
This commit is contained in:
@@ -472,7 +472,11 @@ namespace XCharts
|
||||
int serieIndex = m_Tooltip.dataIndex[0];
|
||||
if (serieIndex < 0)
|
||||
{
|
||||
m_Tooltip.SetActive(false);
|
||||
if (m_Tooltip.IsActive())
|
||||
{
|
||||
m_Tooltip.SetActive(false);
|
||||
RefreshChart();
|
||||
}
|
||||
return;
|
||||
}
|
||||
m_Tooltip.SetActive(true);
|
||||
|
||||
Reference in New Issue
Block a user