mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 02:10:16 +00:00
优化UIComponent
This commit is contained in:
@@ -41,9 +41,23 @@ namespace XCharts.Runtime
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Since("v3.8.2")]
|
||||||
public void SetDataDirty()
|
public void SetDataDirty()
|
||||||
{
|
{
|
||||||
m_DataDirty = true;
|
m_DataDirty = true;
|
||||||
|
m_RefreshChart = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SetAllDirty()
|
||||||
|
{
|
||||||
|
base.SetAllDirty();
|
||||||
|
SetDataDirty();
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void SetVerticesDirty()
|
||||||
|
{
|
||||||
|
base.SetVerticesDirty();
|
||||||
|
m_RefreshChart = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void InitComponent()
|
protected override void InitComponent()
|
||||||
|
|||||||
Reference in New Issue
Block a user