Revision: 15716
          http://sourceforge.net/p/skim-app/code/15716
Author:   hofman
Date:     2025-10-26 17:36:11 +0000 (Sun, 26 Oct 2025)
Log Message:
-----------
double check whether there as any scrolling in horizontal layout, perhaps Apple 
wants to also do this in the future

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

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2025-10-26 17:28:18 UTC (rev 15715)
+++ trunk/SKBasePDFView.m       2025-10-26 17:36:11 UTC (rev 15716)
@@ -421,7 +421,7 @@
             [scrollView reflectScrolledClipView:clipView];
         }
     } else if (clipView) {
-        if (fabs(NSMinY([clipView bounds]) - NSMinY(bounds)) <= 0.0) {
+        if (NSEqualPoints([clipView bounds].origin, bounds.origin)) {
             [self goToNextPage:sender];
             [self verticallyScrollToTop];
         }
@@ -464,7 +464,7 @@
             [scrollView reflectScrolledClipView:clipView];
         }
     } else if (clipView) {
-        if (fabs(NSMinY([clipView bounds]) - NSMinY(bounds)) <= 0.0) {
+        if (NSEqualPoints([clipView bounds].origin, bounds.origin)) {
             [self goToPreviousPage:sender];
             [self verticallyScrollToBottom];
         }

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