Skip to content

Commit

Permalink
Merge pull request #170 from kettch/fix-reuse
Browse files Browse the repository at this point in the history
Preventing subview reset when reloading the layout
  • Loading branch information
jwilling committed May 31, 2016
2 parents 86e682c + 2bbadfb commit 9245c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JNWCollectionView/JNWCollectionViewFramework.m
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ - (void)layout {
BOOL shouldInvalidate = [self.collectionViewLayout shouldInvalidateLayoutForBoundsChange:visibleBounds];
[self.data recalculateAndPrepareLayout:shouldInvalidate];

[self performFullRelayoutForcingSubviewsReset:shouldInvalidate];
[self performFullRelayoutForcingSubviewsReset:NO];
}
}

Expand Down

0 comments on commit 9245c26

Please sign in to comment.