From cc2465416db07408dc819b36bce3a7ef796d0227 Mon Sep 17 00:00:00 2001 From: uurha Date: Tue, 6 Aug 2024 21:45:05 +0200 Subject: [PATCH 1/2] Update label search for property field --- .../Editor/Drawers/Container/ElementsContainer.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/BetterCommons/Editor/Drawers/Container/ElementsContainer.cs b/Assets/BetterCommons/Editor/Drawers/Container/ElementsContainer.cs index 46ab05c..86becb8 100644 --- a/Assets/BetterCommons/Editor/Drawers/Container/ElementsContainer.cs +++ b/Assets/BetterCommons/Editor/Drawers/Container/ElementsContainer.cs @@ -119,8 +119,10 @@ private void ScheduleUpdateGeometry(GeometryChangedEvent changedEvent) private void OnGeometryChanged(VisualElement element) { var propertyPath = SerializedProperty.propertyPath; - var builder = element.Query().Where(field => field.bindingPath.CompareOrdinal(propertyPath)).Build(); - var label = builder.First().Query