少年修仙传客户端代码仓库
hch
2019-10-09 1993e676dff589e24181530fecb9123cdcbcd166
0312 取消选中boss移动居中,涉及打宝各boss界面  跨服boss
1个文件已修改
17 ■■■■ 已修改文件
System/FindPrecious/FindPreciousBossBriefInfoBehaviour.cs 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/FindPreciousBossBriefInfoBehaviour.cs
@@ -131,7 +131,8 @@
        private void SelectBoss()
        {
            autoSelectScroll.TrySelectData(bossId);
            //autoSelectScroll.TrySelectData(bossId);
            selectedBossId = bossId;
        }
        protected virtual void OnSubscribe(int _bossId)
@@ -231,13 +232,13 @@
        protected virtual void LateUpdate()
        {
            if (autoSelectScroll.autoSelectable && selectedBossId != bossId && bossId > 0)
            {
                if (Mathf.Abs(centerSign.position.y - rectTransform.position.y) * 100f < rectTransform.rect.height * 0.45f)
                {
                    selectedBossId = bossId;
                }
            }
            //if (autoSelectScroll.autoSelectable && selectedBossId != bossId && bossId > 0)
            //{
            //    if (Mathf.Abs(centerSign.position.y - rectTransform.position.y) * 100f < rectTransform.rect.height * 0.45f)
            //    {
            //        selectedBossId = bossId;
            //    }
            //}
            if (m_RefreshAtOnce != null)
            {