Skip to content

method rectForPoint with pagingEnabled bad offset calculation #169

jakubknejzlik opened this Issue Dec 14, 2012 · 0 comments

1 participant


Hi! I've discovered little bug and recently found fix for it:).

I have grid view 2x2 and 5 items in it. If i scroll to second page (only half page) and rotate, the new position(originScroll) is calculated incorrectly.

Here's fix, that works for me:

line 1350-1351:

originScroll = CGPointMake(MIN(pageX * pageSize.width,self.contentSize.width-pageSize.width),MIN(pageY * pageSize.height,self.contentSize.height-pageSize.height));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.