diff --git a/Assets/XCharts/CHANGELOG-EN.md b/Assets/XCharts/CHANGELOG-EN.md index 54237c77..c763090c 100644 --- a/Assets/XCharts/CHANGELOG-EN.md +++ b/Assets/XCharts/CHANGELOG-EN.md @@ -1,6 +1,7 @@ # 更新日志 +* (2021.01.21) Fixed an error about `AxisTick` in `Inpsector` * (2021.01.21) Fixed a build compatibility error * (2021.01.19) Add `XChartsSettings` `editorShowAllListData` parameter to configure whether to display all the list's data in Inspector * (2021.01.19) Release `v2.0.0-preview.1` version diff --git a/Assets/XCharts/CHANGELOG.md b/Assets/XCharts/CHANGELOG.md index cf32082b..d45c8433 100644 --- a/Assets/XCharts/CHANGELOG.md +++ b/Assets/XCharts/CHANGELOG.md @@ -1,6 +1,7 @@ # 更新日志 +* (2021.01.21) 修复`Inpsector`上展开`AxisTick`时报错问题 * (2021.01.21) 修复打包兼容报错问题 * (2021.01.19) 增加`XChartsSettings`的`editorShowAllListData`参数配置是否在`Inspector`中显示列表的所有数据 * (2021.01.19) 发布`v2.0.0-preview.1`版本 diff --git a/Assets/XCharts/Editor/PropertyDrawers/LineDrawer.cs b/Assets/XCharts/Editor/PropertyDrawers/LineDrawer.cs index d8c29447..76588e11 100644 --- a/Assets/XCharts/Editor/PropertyDrawers/LineDrawer.cs +++ b/Assets/XCharts/Editor/PropertyDrawers/LineDrawer.cs @@ -57,7 +57,7 @@ public class AxisTickDrawer : BaseLineDrawer protected override void DrawExtendeds(SerializedProperty prop) { base.DrawExtendeds(prop); - PropertyField(prop, "m_Interval"); + PropertyField(prop, "m_AlignWithLabel"); PropertyField(prop, "m_Inside"); } }