From e21ac9e23156fcd24dc6765aedfcbd337fb2c509 Mon Sep 17 00:00:00 2001 From: AnnulusGames Date: Thu, 22 Feb 2024 10:32:37 +0900 Subject: [PATCH] Run formatter --- .../Alchemy/Editor/Elements/PropertyListView.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs b/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs index 2280c26..b591d73 100644 --- a/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs +++ b/Alchemy/Assets/Alchemy/Editor/Elements/PropertyListView.cs @@ -27,14 +27,13 @@ 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) + if (events != null) { - e.TrackPropertyValue(arrayElement, - x => - { - ReflectionHelper.Invoke(parentObj, events.OnItemChanged, - new object[] { index, x.GetValue() }); - }); + e.TrackPropertyValue(arrayElement, x => + { + ReflectionHelper.Invoke(parentObj, events.OnItemChanged, + new object[] { index, x.GetValue() }); + }); } }; listView.unbindItem = (element, index) =>