Explorar o código

商城更改积分icon

zhangyuqian hai 1 ano
pai
achega
6d88e2ced3

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterListView.cs

@@ -289,11 +289,11 @@ namespace GFGGame
             }
             if (isView)
             {
-                _ui.m_listChapter.ScrollToView(currentChapterIndex -1, false, true);
+                _ui.m_listChapter.ScrollToView(Mathf.Max(0, currentChapterIndex -1), false, true);
             }
             else
             {
-                _ui.m_listChapter.ScrollToView(chapterIndex - 1, false, true);
+                _ui.m_listChapter.ScrollToView(Mathf.Max(0,chapterIndex - 1), false, true);
             }
             
             int childrenCount = _ui.m_listChapter.numChildren - 1;

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

@@ -122,7 +122,7 @@ namespace GFGGame
             //else
             {
                 //this.Hide();
-                Timers.inst.Add(2.0f, 1, AutoHide);
+                Timers.inst.Add(2.2f, 1, AutoHide);
             }
         }
         protected override void OnHide()

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/Store/StoreChargeView.cs

@@ -51,6 +51,7 @@ namespace GFGGame
             base.OnShown();
             _shopCfgs = ShopCfgArray.Instance.GetCfgsBymenu1Andmenu2(ConstStoreTabId.STORE_CHARGE, ConstStoreSubId.STORE_CHARGE);
             _valueBarController.OnShown();
+            _ui.m_comVipLv.m_loaIcon.url = ResPathUtil.GetIconPath("tb_yajizijin", "png");
             UpdateView();
         }