FGallery-iPhone icon indicating copy to clipboard operation
FGallery-iPhone copied to clipboard

Last image not loading when previous & next buttons transition is animated

Open jeremangnr opened this issue 13 years ago • 0 comments

After downloading the zipball and running the example, i felt it would be better-looking to have animation too when pressing next and previous buttons, so i went into ´(void)next´ and {(void)previous´ and set the animated flag to ´YES´ on the ´gotoImageByIndex´ call.

If you then load the local images demo and START moving with the next button until the end, you'll notice that the last image is not loaded. I fixed this by removing the ´if( !animated )´ check on ´gotoImageByIndex´, but maybe it breaks something else, haven't checked yet.

Thanks for the great work!

jeremangnr avatar May 04 '12 17:05 jeremangnr