Revision: 16631
http://sourceforge.net/p/skim-app/code/16631
Author: hofman
Date: 2026-10-07 21:41:29 +0000 (Wed, 07 Oct 2026)
Log Message:
-----------
check full bounds origin for changing before navigating for page-up/down in
horizontal mode
Modified Paths:
--------------
trunk/SKBasePDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2026-10-07 21:38:32 UTC (rev 16630)
+++ trunk/SKBasePDFView.m 2026-10-07 21:41:29 UTC (rev 16631)
@@ -526,7 +526,7 @@
[self verticallyScrollToTop];
else if (currentPageIndex < pageIndex)
[self verticallyScrollToBottom];
- } else if (clipView && fabs(NSMinY([clipView bounds]) - NSMinY(bounds)) <=
0.0) {
+ } else if (clipView && NSEqualPoints([clipView bounds].origin,
bounds.origin)) {
if (keyDirection == -1) {
[self goToPreviousPage:sender];
[self verticallyScrollToBottom];
@@ -584,7 +584,7 @@
[self verticallyScrollToBottom];
else if (currentPageIndex > pageIndex)
[self verticallyScrollToTop];
- } else if (clipView && fabs(NSMinY([clipView bounds]) - NSMinY(bounds)) <=
0.0) {
+ } else if (clipView && NSEqualPoints([clipView bounds].origin,
bounds.origin)) {
if (keyDirection == 1) {
[self goToNextPage:sender];
[self verticallyScrollToTop];
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