Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ - (void)setImagePathsGroup:(NSArray *)imagePathsGroup

_imagePathsGroup = imagePathsGroup;

_totalItemsCount = self.infiniteLoop ? self.imagePathsGroup.count * 100 : self.imagePathsGroup.count;
_totalItemsCount = self.infiniteLoop ? self.imagePathsGroup.count * 100000000 : self.imagePathsGroup.count;

if (imagePathsGroup.count > 1) { // 由于 !=1 包含count == 0等情况
self.mainView.scrollEnabled = YES;
Expand Down