gdavis / FGallery-iPhone

Objective-C based gallery for iPhones
583 stars 144 forks source link

Issue while scrolling below 0 offset of scroll view #53

Open kanwarpal opened 10 years ago

kanwarpal commented 10 years ago

Hi,

I have faced an issue in scrolling images when we scroll very fast and scroll view offset becomes -ve, i that case app will crash

Can you please check the code?

I have fixed that in below method by adding

if(_scroller.contentOffset.x < 0) return;

If its fine then please update the code so that in future if anyone use this then should not face this issue.

Thanks