Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

method rectForPoint with pagingEnabled bad offset calculation #169

Open
jakubknejzlik opened this Issue · 0 comments

1 participant

@jakubknejzlik

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

Example:
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.