Revision: 15943
          http://sourceforge.net/p/skim-app/code/15943
Author:   hofman
Date:     2026-01-02 10:33:54 +0000 (Fri, 02 Jan 2026)
Log Message:
-----------
reduce height once

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2026-01-02 10:32:38 UTC (rev 15942)
+++ trunk/SKPDFView.m   2026-01-02 10:33:54 UTC (rev 15943)
@@ -3039,9 +3039,8 @@
         CGFloat scrollerWidth = [NSScroller effectiveScrollerWidth];
         NSRect bounds = [self bounds];
         CGFloat scale = 1.0;
-        bounds.size.height -= [scrollView contentInsets].top;
         bounds.size.width -= scrollerWidth;
-        bounds.size.height -= scrollerWidth;
+        bounds.size.height -= scrollerWidth + [scrollView contentInsets].top;
         if (NSWidth(bounds) * NSHeight(rect) > NSWidth(rect) * 
NSHeight(bounds))
             scale = NSHeight(bounds) / NSHeight(rect);
         else

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to