Fixed a Inpsector displayed error

This commit is contained in:
monitor1394
2021-01-22 09:08:52 +08:00
parent d34959287d
commit e9df74ec3c
5 changed files with 3 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
# 更新日志
* (2021.01.22) Fixed a `Inpsector` displayed error
* (2021.01.21) Release `v2.0.0-preview.2` version
* (2021.01.21) Fixed an error about `AxisTick` in `Inpsector`
* (2021.01.21) Fixed a build compatibility error

View File

@@ -1,6 +1,7 @@
# 更新日志
* (2021.01.22) 修复`Inpsector`上部分属性显示异常的问题
* (2021.01.21) 发布`v2.0.0-preview.2`版本
* (2021.01.21) 修复`Inpsector`上展开`AxisTick`时报错问题
* (2021.01.21) 修复打包兼容报错问题

View File

@@ -138,8 +138,6 @@ namespace XCharts
PropertyField(prop, "m_OnZero");
PropertyField(prop, "m_TextLimit");
PropertyField(prop, "m_TextStyle");
PropertyField(prop, "m_OnZero");
PropertyField(prop, "m_OnZero");
--EditorGUI.indentLevel;
}
}

View File

@@ -100,11 +100,6 @@ namespace XCharts
protected void PropertyField(SerializedProperty prop, string relativePropName)
{
if (IngorePropertys.Contains(relativePropName)) return;
if (prop.FindPropertyRelative(relativePropName).isArray)
{
PropertyListField(prop, relativePropName);
return;
}
if (!ChartEditorHelper.PropertyField(ref m_DrawRect, m_Heights, m_KeyName, prop, relativePropName))
{
Debug.LogError("PropertyField ERROR:" + prop.displayName + ", " + relativePropName);

View File

@@ -5,7 +5,6 @@
/* */
/************************************************/
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
@@ -23,7 +22,7 @@ namespace XCharts
++EditorGUI.indentLevel;
PropertyField(prop, "m_MaxWidth");
PropertyField(prop, "m_Gap");
PropertyField(prop, "m_LimitSuffix");
PropertyField(prop, "m_Suffix");
--EditorGUI.indentLevel;
}
}