mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 18:30:14 +00:00
修复Inspector上移除Component后图表没有及时刷新的问题 (#241)
This commit is contained in:
@@ -65,6 +65,7 @@ slug: /changelog
|
|||||||
|
|
||||||
## master
|
## master
|
||||||
|
|
||||||
|
* (2023.01.11) 修复`Inspector`上移除`Component`后图表没有及时刷新的问题 (#241)
|
||||||
* (2023.01.06) 修复`Pie`在最后的几个数据都为0时`Label`显示不正常的问题 (#240)
|
* (2023.01.06) 修复`Pie`在最后的几个数据都为0时`Label`显示不正常的问题 (#240)
|
||||||
* (2023.01.03) 删除`Serie`的`MarkColor`,增加`ItemStyle`的`MarkColor`
|
* (2023.01.03) 删除`Serie`的`MarkColor`,增加`ItemStyle`的`MarkColor`
|
||||||
* (2022.12.29) 增加`Editor`对`List`的`+`添加编辑功能
|
* (2022.12.29) 增加`Editor`对`List`的`+`添加编辑功能
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ namespace XCharts.Editor
|
|||||||
m_Editors[id].OnDisable();
|
m_Editors[id].OnDisable();
|
||||||
chart.RemoveChartComponent(m_Editors[id].component);
|
chart.RemoveChartComponent(m_Editors[id].component);
|
||||||
m_Editors.RemoveAt(id);
|
m_Editors.RemoveAt(id);
|
||||||
|
chart.RebuildChartObject();
|
||||||
m_ComponentsProperty = m_BaseEditor.RefreshComponent();
|
m_ComponentsProperty = m_BaseEditor.RefreshComponent();
|
||||||
RefreshEditors();
|
RefreshEditors();
|
||||||
EditorUtility.SetDirty(chart);
|
EditorUtility.SetDirty(chart);
|
||||||
|
|||||||
Reference in New Issue
Block a user