Skip to content
Browse files

_contentSize = CGSizeMake(bounds.size.width * self.numberOfPages,

  • Loading branch information...
1 parent d449093 commit 631774c244b6f15061a61ac8fd2b0d64c8bf8209 @gmoledina committed Jan 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 GMGridView/GMGridViewLayoutStrategies.m
View
4 GMGridView/GMGridViewLayoutStrategies.m
@@ -407,8 +407,8 @@ - (void)rebaseWithItemCount:(NSInteger)count insideOfBounds:(CGRect)bounds
_edgeInsets = self.minEdgeInsets;
}
- _contentSize = CGSizeMake((onePageSize.width + self.edgeInsets.left + self.edgeInsets.right) * self.numberOfPages,
- onePageSize.height + self.edgeInsets.top + self.edgeInsets.bottom);
+ _contentSize = CGSizeMake(bounds.size.width * self.numberOfPages,
+ bounds.size.height);
}
- (NSInteger)pageForItemAtIndex:(NSInteger)index

0 comments on commit 631774c

Please sign in to comment.
Something went wrong with that request. Please try again.