mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 02:10:16 +00:00
[bug] fix chart not being created correctly at runtime
This commit is contained in:
@@ -275,9 +275,12 @@ namespace XCharts.Runtime
|
||||
if (component == null) return;
|
||||
if (component.anyDirty)
|
||||
{
|
||||
if (component.componentDirty && component.refreshComponent != null)
|
||||
if (component.componentDirty)
|
||||
{
|
||||
component.refreshComponent.Invoke();
|
||||
if (component.refreshComponent != null)
|
||||
component.refreshComponent.Invoke();
|
||||
else
|
||||
component.handler.InitComponent();
|
||||
}
|
||||
if (component.vertsDirty)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user