优化,改bug

Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-07-09 23:25:02 +08:00
parent 879f1e49b8
commit fdc20cd66f
54 changed files with 288754 additions and 4266 deletions

View File

@@ -55,6 +55,10 @@ namespace Ichni.Editor
targetElement.connectedTab = this;
this.isExpanded = false;
this.isSelected = false;
if (BgImage != null)
{
BgImage.color = new Color(0.5f, 0.5f, 0.5f, 0);
}
this.childTabList = new List<HierarchyTab>();
// 清除旧的缩进线
@@ -453,4 +457,4 @@ namespace Ichni.Editor
}
}
}
}

View File

@@ -25,7 +25,7 @@ namespace Ichni.Editor
this.parameterName = parameterName;
unitList = new List<DynamicUICompositeUnit>();
InitializeWindow(titleText, ApplyParameters);
InitializeWindow(titleText, () => ApplyParameters?.Invoke());
}
@@ -450,4 +450,4 @@ namespace Ichni.Editor
return this;
}
}
}
}