mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 14:30:10 +00:00
优化UIComponent
This commit is contained in:
@@ -41,9 +41,23 @@ namespace XCharts.Runtime
|
||||
return true;
|
||||
}
|
||||
|
||||
[Since("v3.8.2")]
|
||||
public void SetDataDirty()
|
||||
{
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user