Revision: 12951 http://sourceforge.net/p/skim-app/code/12951 Author: hofman Date: 2022-06-25 18:47:55 +0000 (Sat, 25 Jun 2022) Log Message: ----------- We can pass 0 even if the page does not have lines
Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2022-06-25 18:46:57 UTC (rev 12950) +++ trunk/SKPDFView.m 2022-06-25 18:47:55 UTC (rev 12951) @@ -984,7 +984,7 @@ userInfo = [NSDictionary dictionaryWithObjectsAndKeys:page, SKPDFViewOldPageKey, nil]; } else { page = [self currentPage]; - SKReadingBar *aReadingBar = [[SKReadingBar alloc] initWithPage:page line:-1]; + SKReadingBar *aReadingBar = [[SKReadingBar alloc] initWithPage:page line:0]; bounds = [aReadingBar currentBoundsForBox:[self displayBox]]; [self goToRect:NSInsetRect([aReadingBar currentBounds], 0.0, -20.0) onPage:page]; [self setReadingBar:aReadingBar]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit