Skip to content

Commit

Permalink
修复Inspector上移除Component后图表没有及时刷新的问题 (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
monitor1394 committed Jan 11, 2023
1 parent bda6fc7 commit e90d7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation~/zh/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ slug: /changelog

## master

* (2023.01.11) 修复`Inspector`上移除`Component`后图表没有及时刷新的问题 (#241)
* (2023.01.06) 修复`Pie`在最后的几个数据都为0时`Label`显示不正常的问题 (#240)
* (2023.01.03) 删除`Serie``MarkColor`,增加`ItemStyle``MarkColor`
* (2022.12.29) 增加`Editor``List``+`添加编辑功能
Expand Down
1 change: 1 addition & 0 deletions Editor/MainComponents/MainComponentListEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ private void RemoveComponentEditor(int id)
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);
Expand Down

0 comments on commit e90d7d6

Please sign in to comment.