Skip to content

Commit

Permalink
[Chore] #219 - 공백 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
thingineeer committed Oct 29, 2024
1 parent b24cb2e commit a9d247d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ extension SearchViewController: UICollectionViewDataSource {
stopTimer()
startTimer()


if scrollView.contentOffset.x == 0 { // 첫번째 배너 가 보이면 (배너 갯수) 번째 index의 배너갯수 으로 이동시키기
scrollView.setContentOffset(.init(x: screenWidth * initialBannerCount, y: scrollView.contentOffset.y), animated: false)
} else if scrollView.contentOffset.x == screenWidth * (initialBannerCount + 1) { // 마지막 1이 보이면 1번째 index의 1로 이동
Expand Down

0 comments on commit a9d247d

Please sign in to comment.