From cd578c7096c83dca6a1063a37fae7aa58b655906 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Wed, 15 Apr 2026 09:40:29 +0800 Subject: [PATCH] fix excpetions --- src/Utils/InspectorAttributes.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Utils/InspectorAttributes.cs b/src/Utils/InspectorAttributes.cs index 558b7a1..7ad5525 100644 --- a/src/Utils/InspectorAttributes.cs +++ b/src/Utils/InspectorAttributes.cs @@ -332,6 +332,7 @@ namespace DCFApixels.DragonECS.Unity.Editors { if (IsDrawMetaBlock) { + ref var r = ref rect; var (skip, optionsWidth) = DragonGUI.DrawTypeMetaBlock(ref r, rootProperty, meta); selectionButtonRightOffset = optionsWidth; @@ -339,6 +340,10 @@ namespace DCFApixels.DragonECS.Unity.Editors { return; } + if(Event.current.type == EventType.Used) + { + return; + } } }