Browse Source

速刷列表添加动画

zhaoyang 3 years ago
parent
commit
f50730fd0c

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightQuicklyView.cs

@@ -117,7 +117,9 @@ namespace GFGGame
                 _ui.m_btnExit.visible = true;
                 _ui.m_btnExit.visible = true;
                 UpdateBtnFightTimes();
                 UpdateBtnFightTimes();
             }
             }
-            _ui.m_list.scrollPane.ScrollBottom();
+            _ui.m_list.ScrollToView(_index - 1, true);
+
+            //.ScrollBottom();
         }
         }
 
 
         private void ListItemRender(int index, GObject item)
         private void ListItemRender(int index, GObject item)