This commit is contained in:
monitor1394
2022-03-28 19:28:39 +08:00
parent acba2f5c1e
commit b784900fda
4 changed files with 13 additions and 11 deletions

View File

@@ -854,6 +854,9 @@ namespace XCharts.Runtime
private void ResetSeriesIndex()
{
#if UNITY_EDITOR && UNITY_2019_1_OR_NEWER
UnityEditor.EditorUtility.SetDirty(this);
#endif
for (int i = 0; i < m_Series.Count; i++)
{
m_Series[i].index = i;