mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 12:08:46 +00:00
[optimize][serie] optimize index of serieData
This commit is contained in:
@@ -57,6 +57,7 @@ namespace XCharts.Runtime
|
||||
m_LastCheckContextFlag = needCheck;
|
||||
var themeSymbolSize = chart.theme.serie.lineSymbolSize;
|
||||
var needInteract = false;
|
||||
serie.ResetDataIndex();
|
||||
if (m_LegendEnter)
|
||||
{
|
||||
serie.context.pointerEnter = true;
|
||||
@@ -112,7 +113,9 @@ namespace XCharts.Runtime
|
||||
}
|
||||
}
|
||||
if (lastIndex != serie.context.pointerItemDataIndex)
|
||||
{
|
||||
needInteract = true;
|
||||
}
|
||||
}
|
||||
if (needInteract)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user