Revision: 12941
          http://sourceforge.net/p/skim-app/code/12941
Author:   hofman
Date:     2022-06-24 14:34:02 +0000 (Fri, 24 Jun 2022)
Log Message:
-----------
don't try next line when there are no lines

Modified Paths:
--------------
    trunk/SKReadingBar.m

Modified: trunk/SKReadingBar.m
===================================================================
--- trunk/SKReadingBar.m        2022-06-24 14:28:46 UTC (rev 12940)
+++ trunk/SKReadingBar.m        2022-06-24 14:34:02 UTC (rev 12941)
@@ -245,7 +245,7 @@
 - (BOOL)goToLineForPoint:(NSPoint)point {
     if ([lineRects count] == 0) {
         if (currentLine == -1)
-            return [self goToNextLine];
+            return [self goToNextPageAtTop:YES];
         return NO;
     }
     NSInteger i = [self maxLine];

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

Reply via email to