调整表格渲染对象复用逻辑

This commit is contained in:
2026-08-18 13:43:49 +08:00
parent 1453dc6634
commit b132e8e167
9 changed files with 155 additions and 48 deletions
@@ -221,7 +221,8 @@ namespace XericUI.XTable.Rendering.Component
private void CreatePools()
{
m_Assembler = new CellAssembler(ContentTransform, m_DefaultStyleNamespace,
Config.TextPoolMaxCapacity, Config.ImagePoolMaxCapacity);
Config.TextPoolMaxCapacity, Config.ImagePoolMaxCapacity,
Config.TextPoolRouteBucketCount, Config.ImagePoolRouteBucketCount);
m_PrefabPool = new PrefabPrototypePool(ContentTransform, Config.PrefabPoolMaxCapacity);
}