diff --git a/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs b/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs index 3d314b8..2280c26 100644 --- a/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs +++ b/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs @@ -27,14 +27,15 @@ namespace Alchemy.Editor.Elements var e = new AlchemyPropertyField(arrayElement, property.GetPropertyType(true), depth + 1, true); element.Add(e); element.Bind(arrayElement.serializedObject); - if (events != null) { - e.TrackPropertyValue(arrayElement, x => - { - ReflectionHelper.Invoke(parentObj, events.OnItemChanged, new object[] { index, x.GetValue() }); - }); + if(events != null) + { + e.TrackPropertyValue(arrayElement, + x => + { + ReflectionHelper.Invoke(parentObj, events.OnItemChanged, + new object[] { index, x.GetValue() }); + }); } - - } }; listView.unbindItem = (element, index) => {