From ba95242642b81b4bcbae06d73a37eeed8da73323 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 28 九月 2018 22:22:15 +0800
Subject: [PATCH] 3924 前端 任务修改

---
 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