Revision: 12946 http://sourceforge.net/p/skim-app/code/12946 Author: hofman Date: 2022-06-25 17:46:55 +0000 (Sat, 25 Jun 2022) Log Message: ----------- min rather than max
Modified Paths: -------------- trunk/SKReadingBar.m Modified: trunk/SKReadingBar.m =================================================================== --- trunk/SKReadingBar.m 2022-06-25 17:46:00 UTC (rev 12945) +++ trunk/SKReadingBar.m 2022-06-25 17:46:55 UTC (rev 12946) @@ -238,7 +238,7 @@ return [self goToNextPageAtTop:YES]; return NO; } - currentLine = MAX(0, MAX([self maxLine], [page indexOfLineRectAtPoint:point lower:YES])); + currentLine = MAX(0, MIN([self maxLine], [page indexOfLineRectAtPoint:point lower:YES])); [self updateCurrentBounds]; return YES; } 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