Fixed display exception of hidden gameObjects when enabling and disabling a chart #125

This commit is contained in:
monitor1394
2021-03-01 10:07:40 +08:00
parent 0a2751b220
commit 9fe8b762b6
4 changed files with 4 additions and 22 deletions

View File

@@ -32,6 +32,8 @@
## Latest
* (2021.03.01) Fixed display exception of hidden gameObjects when enabling and disabling a chart #125
## v2.0.1
* (2021.02.26) Fixed incorrect position of `Tooltip` in `HeatmapChart` #123

View File

@@ -32,6 +32,8 @@
## Latest
* (2021.03.01) 修复隐藏和显示chart时部分已隐藏的节点显示异常的问题 #125
## v2.0.1
* (2021.02.26) 修复`HeatmapChart``Tooltip`指示的位置不准的问题 #123

View File

@@ -265,18 +265,6 @@ namespace XCharts
foreach (var drawSerie in m_DrawSeries) drawSerie.CheckComponent();
}
protected override void OnEnable()
{
base.OnEnable();
ChartHelper.ActiveAllObject(transform, true);
}
protected override void OnDisable()
{
base.OnDisable();
ChartHelper.ActiveAllObject(transform, false);
}
protected override void SetAllComponentDirty()
{
base.SetAllComponentDirty();

View File

@@ -162,16 +162,6 @@ namespace XCharts
}
}
protected override void OnEnable()
{
base.OnEnable();
}
protected override void OnDisable()
{
base.OnDisable();
}
#if UNITY_EDITOR
protected override void Reset()
{