Revision: 16000
          http://sourceforge.net/p/skim-app/code/16000
Author:   hofman
Date:     2026-01-11 16:33:04 +0000 (Sun, 11 Jan 2026)
Log Message:
-----------
only get scrollerWidth for legacy scrollers

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

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2026-01-11 16:00:52 UTC (rev 15999)
+++ trunk/SKBasePDFView.m       2026-01-11 16:33:04 UTC (rev 16000)
@@ -265,7 +265,7 @@
     CGFloat scrollerWidth = 0.0;
     if ([pdfView displaysPageBreaks])
         margin = [pdfView pageBreakMargins].top;
-    if ([scrollView hasHorizontalScroller])
+    if ([scrollView hasHorizontalScroller] && [scrollView scrollerStyle] == 
NSScrollerStyleLegacy)
         scrollerWidth = [pdfView convertSize:NSMakeSize(0.0, [NSScroller 
effectiveScrollerWidth]) toView:clipView].height;
     pageRect = [pdfView convertRect:pageRect toView:clipView];
     if ([clipView isFlipped])

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