ashfurrow / ARCollectionViewMasonryLayout

MIT License
185 stars 16 forks source link

Fix content size when empty #24

Closed alloy closed 9 years ago

alloy commented 9 years ago

I was incorrectly including trailing margin in the content size when no items had been layout yet.

Eigen was using the content size (height == 0) to decide whether or not to have the collection view calculate its layout and thus was never updated.

alloy commented 9 years ago