Revision: 16018
http://sourceforge.net/p/skim-app/code/16018
Author: hofman
Date: 2026-01-13 17:27:59 +0000 (Tue, 13 Jan 2026)
Log Message:
-----------
check only vertical scrolling
Modified Paths:
--------------
trunk/SKBasePDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2026-01-13 17:06:17 UTC (rev 16017)
+++ trunk/SKBasePDFView.m 2026-01-13 17:27:59 UTC (rev 16018)
@@ -474,7 +474,7 @@
[self verticallyScrollToTop];
else if (currentPageIndex < pageIndex)
[self verticallyScrollToBottom];
- } else if (clipView && NSEqualPoints([clipView bounds].origin,
bounds.origin)) {
+ } else if (clipView && fabs(NSMinY([clipView bounds]) - NSMinY(bounds)) <=
0.0) {
if (keyDirection == -1) {
[self goToPreviousPage:sender];
[self verticallyScrollToBottom];
@@ -532,7 +532,7 @@
[self verticallyScrollToBottom];
else if (currentPageIndex > pageIndex)
[self verticallyScrollToTop];
- } else if (clipView && NSEqualPoints([clipView bounds].origin,
bounds.origin)) {
+ } else if (clipView && fabs(NSMinY([clipView bounds]) - NSMinY(bounds)) <=
0.0) {
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