Skip to content

Commit

Permalink
Fix for samvermette#95.
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanolsson committed Jan 9, 2013
1 parent fe0d064 commit 5ea8342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SVPullToRefresh/UIScrollView+SVPullToRefresh.m
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ - (void)stopAnimating {
self.state = SVPullToRefreshStateStopped;

if(!self.wasTriggeredByUser)
[self.scrollView setContentOffset:CGPointMake(self.scrollView.contentOffset.x, 0) animated:YES];
[self.scrollView setContentOffset:CGPointMake(self.scrollView.contentOffset.x, -self.originalTopInset) animated:YES];
}

- (void)setState:(SVPullToRefreshState)newState {
Expand Down

0 comments on commit 5ea8342

Please sign in to comment.