Skip to content

Commit

Permalink
Forced animation so that proper callback is called when changing page…
Browse files Browse the repository at this point in the history
… in thumbnails view.
  • Loading branch information
Kamil Burczyk committed Jun 25, 2015
1 parent 3e2fde7 commit d94dc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/View/PDFKBasicPDFViewer.m
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ - (void)toggleShowBookmarks:(id)sender

- (void)thumbCollectionView:(PDFKBasicPDFViewerThumbsCollectionView *)thumbsCollectionView didSelectPage:(NSUInteger)page
{
[self.pageCollectionView displayPage:page animated:NO];
[self.pageCollectionView displayPage:page animated:YES];
self.document.currentPage = page;
[self.pageScrubber updateScrubber];
[self toggleSinglePageView];
Expand Down

0 comments on commit d94dc77

Please sign in to comment.