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; + } } }