From bddf4df7cbb292011a974b705d6f6d94c0ac6cc1 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 09 十二月 2025 11:44:17 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/HeroUI/HeroListWin.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Main/System/HeroUI/HeroListWin.cs b/Main/System/HeroUI/HeroListWin.cs
index b010d65..1c8360d 100644
--- a/Main/System/HeroUI/HeroListWin.cs
+++ b/Main/System/HeroUI/HeroListWin.cs
@@ -160,6 +160,7 @@
         HeroUIManager.Instance.SortHeroList();
         RefreshEmptyTip();
         CreateScroller();
+        heroListScroller.JumpIndex(0);
     }
 
     //涓婇樀鍔犳垚
@@ -227,6 +228,8 @@
             }
         }
         heroListScroller.Restart();
+        heroListScroller.lockType = EnhanceLockType.KeepVertical;
+        
     }
 
     int GetAttrActiveHeroCount()

--
Gitblit v1.8.0