优化Editor

This commit is contained in:
monitor1394
2019-07-25 19:11:47 +08:00
parent fe703b7771
commit d024f37cd5
3 changed files with 5 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ namespace XCharts
}
drawRect.x = startX + i * xWid;
drawRect.width = dataWid + 40;
SerializedProperty element = data.GetArrayElementAtIndex(i);
SerializedProperty element = data.GetArrayElementAtIndex(dimension <= 1 ? 1 : i);
EditorGUI.PropertyField(drawRect, element, GUIContent.none);
}
if (showName)