zhaoyang 2 年之前
父节点
当前提交
32036caa61
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs

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

@@ -659,7 +659,7 @@ namespace GFGGame
             if (footer.height < footer.sourceHeight || isPullUp) return;
             // _lastListCount = _list.numItems;
             // _lastList1Count = _list1.numItems;
-            // _lastGalleryDatasCount = _galleryDatas.Count;
+            _lastGalleryDatasCount = _galleryDatas.Count;
 
             isPullUp = true;
             _comScroll.scrollPane.LockFooter(footer.sourceHeight + 10);
@@ -668,7 +668,7 @@ namespace GFGGame
             // OnPullUpTimeComplete();
             if (result)
             {
-                Timers.inst.StartCoroutine(PictureStorageHelper.Download(_galleryDatas, _galleryDatas.Count, UpdatePullUp));
+                Timers.inst.StartCoroutine(PictureStorageHelper.Download(_galleryDatas, _lastGalleryDatasCount, UpdatePullUp));
             }
         }
         private void UpdatePullUp()