fix excpetions

This commit is contained in:
Mikhail 2026-04-15 09:40:29 +08:00
parent 2d8b985cf0
commit cd578c7096

View File

@ -332,6 +332,7 @@ namespace DCFApixels.DragonECS.Unity.Editors
{ {
if (IsDrawMetaBlock) if (IsDrawMetaBlock)
{ {
ref var r = ref rect; ref var r = ref rect;
var (skip, optionsWidth) = DragonGUI.DrawTypeMetaBlock(ref r, rootProperty, meta); var (skip, optionsWidth) = DragonGUI.DrawTypeMetaBlock(ref r, rootProperty, meta);
selectionButtonRightOffset = optionsWidth; selectionButtonRightOffset = optionsWidth;
@ -339,6 +340,10 @@ namespace DCFApixels.DragonECS.Unity.Editors
{ {
return; return;
} }
if(Event.current.type == EventType.Used)
{
return;
}
} }
} }