hch
2025-08-05 7674f5aee893b74cc0d616b9c40467c8846f243c
Main/System/HeroUI/HeroPosWin.cs
@@ -136,16 +136,7 @@
        RefreshFlyHead();
        RefreshConn();
        if (HeroManager.Instance.GetHeroCount() == 0)
        {
            heroListEmpty.SetActive(true);
            heroListScroller.SetActive(false);
        }
        else
        {
            heroListEmpty.SetActive(false);
            heroListScroller.SetActive(true);
        }
        RefreshEmptyTip();
        showConnTipToggleBtn.isOn = isToggleOn;
@@ -181,6 +172,21 @@
        HeroUIManager.Instance.selectTeamPosCountry = country;
        HeroUIManager.Instance.SortHeroOnTeamList();
        CreateScroller();
        RefreshEmptyTip();
    }
    void RefreshEmptyTip()
    {
        if (HeroUIManager.Instance.heroOnTeamSortList.Count <= 0)
        {
            heroListEmpty.SetActive(true);
            heroListScroller.SetActive(false);
        }
        else
        {
            heroListEmpty.SetActive(false);
            heroListScroller.SetActive(true);
        }
    }
    void OnRefreshCell(ScrollerDataType type, CellView cell)