少年修仙传客户端代码仓库
client_Zxw
2018-09-28 ba95242642b81b4bcbae06d73a37eeed8da73323
3924 前端 任务修改
1个文件已修改
10 ■■■■■ 已修改文件
System/MainInterfacePanel/TaskListTip.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskListTip.cs
@@ -493,7 +493,15 @@
            }
            else
            {
                var _position = (_list.Count - type) * m_SizeHeight + (_list.Count - type - 1) * 2;
                float _position = 0f;
                if (_list.Count >= 12)
                {
                    _position = (12 - type) * m_SizeHeight + (12 - type - 1) * 2;
                }
                else
                {
                    _position = (_list.Count - type) * m_SizeHeight + (_list.Count - type - 1) * 2;
                }
                _position -= 196;
                m_ScrollRect.verticalNormalizedPosition = Mathf.Clamp01(_position / ((Content as RectTransform).sizeDelta.y - 196));
            }