From 3a4eb38542bf8cc2cdf7f835a559ade8a8457ea3 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期六, 29 九月 2018 03:02:47 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/MainInterfacePanel/TaskListTip.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/System/MainInterfacePanel/TaskListTip.cs b/System/MainInterfacePanel/TaskListTip.cs
index 59a580f..8d2c628 100644
--- a/System/MainInterfacePanel/TaskListTip.cs
+++ b/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));
             }

--
Gitblit v1.8.0