mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 06:50:18 +00:00
修复Inspector上移除Component后图表没有及时刷新的问题 (#241)
This commit is contained in:
@@ -151,6 +151,7 @@ namespace XCharts.Editor
|
||||
m_Editors[id].OnDisable();
|
||||
chart.RemoveChartComponent(m_Editors[id].component);
|
||||
m_Editors.RemoveAt(id);
|
||||
chart.RebuildChartObject();
|
||||
m_ComponentsProperty = m_BaseEditor.RefreshComponent();
|
||||
RefreshEditors();
|
||||
EditorUtility.SetDirty(chart);
|
||||
|
||||
Reference in New Issue
Block a user