Skip to content
This repository has been archived by the owner on Nov 10, 2021. It is now read-only.

Commit

Permalink
scrollsToTop이 동작하지 않는 현상 재 수정.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jangsy7883 committed Jun 1, 2016
1 parent 6f3474b commit f4cfc96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JLFullScreenPageViewController.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@version = "1.0.27"
@version = "1.0.28"
Pod::Spec.new do |s|
s.name = "JLFullScreenPageViewController"
s.version = @version
Expand Down
2 changes: 1 addition & 1 deletion JLFullScreenPageViewController/JLPageViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ - (void)pageViewController:(UIPageViewController *)pageViewController

UIScrollView *scrollView = viewController.jl_scrollView;

if (index == NSNotFound && scrollView)
if (index != NSNotFound && scrollView)
{
scrollView.scrollsToTop = (_currentIndex == index);
}
Expand Down

0 comments on commit f4cfc96

Please sign in to comment.