Revision: 12944 http://sourceforge.net/p/skim-app/code/12944 Author: hofman Date: 2022-06-25 17:27:35 +0000 (Sat, 25 Jun 2022) Log Message: ----------- Start one line higher to include last possibleline in loop
Modified Paths: -------------- trunk/SKReadingBar.m Modified: trunk/SKReadingBar.m =================================================================== --- trunk/SKReadingBar.m 2022-06-25 13:47:06 UTC (rev 12943) +++ trunk/SKReadingBar.m 2022-06-25 17:27:35 UTC (rev 12944) @@ -248,7 +248,7 @@ return [self goToNextPageAtTop:YES]; return NO; } - NSInteger i = [self maxLine]; + NSInteger i = [self maxLine] + 1; NSInteger lineAngle = [page lineDirectionAngle]; while (--i >= 0) if (topAbovePoint([lineRects rectAtIndex:i], point, lineAngle)) break; 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