mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-03-22 21:50:55 +08:00
👾 修复 Tree Visible 隐藏后依旧渲染
This commit is contained in:
@@ -538,7 +538,7 @@ namespace AntdUI
|
||||
{
|
||||
foreach (var it in items)
|
||||
{
|
||||
it.show = rect.IsItemVisibleExpand(sx, sy, it.rect, it.Expand, it.SubHeight);
|
||||
it.show = it.Visible && rect.IsItemVisibleExpand(sx, sy, it.rect, it.Expand, it.SubHeight);
|
||||
if (it.show)
|
||||
{
|
||||
PaintItem(g, it, tx, ty, fore, fore_active, hover, active, brushTextTertiary, radius, sx, sy);
|
||||
|
||||
Reference in New Issue
Block a user