瀏覽代碼

补充提交

zhangyuqian 10 月之前
父節點
當前提交
b87fa4813b
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs

+ 4 - 2
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs

@@ -758,7 +758,7 @@ namespace GFGGame
             {
             {
                 return;
                 return;
             }
             }
-            PoemGalleryDataManager.Instance.waitRelease = true;
+
             isPullDown = true;
             isPullDown = true;
             _scrollList.scrollPane.LockHeader(_scrollList.scrollPane.header.sourceHeight);
             _scrollList.scrollPane.LockHeader(_scrollList.scrollPane.header.sourceHeight);
 
 
@@ -766,6 +766,7 @@ namespace GFGGame
             // OnPullDownTimeComplete();
             // OnPullDownTimeComplete();
             if (result && isShowing)
             if (result && isShowing)
             {
             {
+                PoemGalleryDataManager.Instance.waitRelease = true;
                 Timers.inst.StartCoroutine(PictureStorageHelper.Download(_galleryDatas, 0, UpdateGalleryList));
                 Timers.inst.StartCoroutine(PictureStorageHelper.Download(_galleryDatas, 0, UpdateGalleryList));
             }
             }
 
 
@@ -790,7 +791,7 @@ namespace GFGGame
             {
             {
                 return;
                 return;
             }
             }
-            PoemGalleryDataManager.Instance.waitRelease = true;
+
             GComponent footer = _scrollList.scrollPane.footer;
             GComponent footer = _scrollList.scrollPane.footer;
             if (footer.height <= footer.sourceHeight || isPullUp) return;
             if (footer.height <= footer.sourceHeight || isPullUp) return;
 
 
@@ -801,6 +802,7 @@ namespace GFGGame
             bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, _galleryDatas.Count, PoemGalleryDataManager.pageCount);
             bool result = await PoemGallerySProxy.ReqGalleryList(_sortType, _galleryDatas.Count, PoemGalleryDataManager.pageCount);
             if (result && isShowing)
             if (result && isShowing)
             {
             {
+                PoemGalleryDataManager.Instance.waitRelease = true;
                 Timers.inst.StartCoroutine(PictureStorageHelper.Download(_galleryDatas, _lastGalleryDatasCount, UpdateGalleryList));
                 Timers.inst.StartCoroutine(PictureStorageHelper.Download(_galleryDatas, _lastGalleryDatasCount, UpdateGalleryList));
             }
             }
         }
         }