少年修仙传客户端代码仓库
client_Hale
2018-09-29 3a4eb38542bf8cc2cdf7f835a559ade8a8457ea3
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));
            }