Skip to content

Commit

Permalink
fix Bug:轮播最开始选中有可能不是第一页的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouwei committed Jun 8, 2017
1 parent ad1fc3e commit 9f26e91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ private int getStartSelectItem(){
return currentItem;
}
// 直到找到从0开始的位置
while (currentItem % getRealCount() == 0){
while (currentItem % getRealCount() != 0){
currentItem++;
}
return currentItem;
Expand Down

0 comments on commit 9f26e91

Please sign in to comment.