Revision: 12966
          http://sourceforge.net/p/skim-app/code/12966
Author:   hofman
Date:     2022-06-27 16:18:27 +0000 (Mon, 27 Jun 2022)
Log Message:
-----------
no need to extend bounds of reading bar, we only use the locations in the other 
direction

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

Modified: trunk/SKReadingBar.m
===================================================================
--- trunk/SKReadingBar.m        2022-06-27 15:55:02 UTC (rev 12965)
+++ trunk/SKReadingBar.m        2022-06-27 16:18:27 UTC (rev 12966)
@@ -372,7 +372,7 @@
     CGContextSetFillColorWithColor(context, [[[NSUserDefaults 
standardUserDefaults] colorForKey:SKReadingBarColorKey] CGColor]);
     
     if ([[self page] isEqual:pdfPage]) {
-        NSRect rect = [self currentBoundsForBox:box];
+        NSRect rect = [self currentBounds];
         if (invert) {
             NSRect bounds = [pdfPage boundsForBox:box];
             if (NSEqualRects(rect, NSZeroRect)) {

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