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