修复content无法选中单元格的问题

This commit is contained in:
2026-07-29 14:14:17 +08:00
parent 5917c0361b
commit 71f5004484
4 changed files with 55 additions and 16 deletions
@@ -177,8 +177,9 @@ namespace XericUI.XTable.Rendering.Component
go.transform.SetParent(parent, false);
overlay = go.GetComponent<XTableSelectionOverlay>();
}
overlay.transform.SetAsLastSibling();
// Overlay 必须处于当前区域最上层,才能先于边框和其他 Graphic 接收 PointerDown/Drag。
overlay.Configure(this, rowStart, rowEnd, colStart, colEnd);
overlay.transform.SetAsLastSibling();
return overlay;
}