Skip to content

Commit

Permalink
修复自定义图片的pagecontrol刷新图片数据时崩溃bug;设置单张图片时停止轮播
Browse files Browse the repository at this point in the history
  • Loading branch information
gsdios committed Apr 21, 2016
1 parent fb9ee3e commit ac1e2f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Binary file not shown.
8 changes: 6 additions & 2 deletions SDCycleScrollView/Lib/SDCycleScrollView/SDCycleScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,12 @@ - (void)setupPageControl
}

// 重设pagecontroldot图片
self.currentPageDotImage = self.currentPageDotImage;
self.pageDotImage = self.pageDotImage;
if (self.currentPageDotImage) {
self.currentPageDotImage = self.currentPageDotImage;
}
if (self.pageDotImage) {
self.pageDotImage = self.pageDotImage;
}
}


Expand Down

0 comments on commit ac1e2f3

Please sign in to comment.