Revision: 16001
http://sourceforge.net/p/skim-app/code/16001
Author: hofman
Date: 2026-01-11 17:04:45 +0000 (Sun, 11 Jan 2026)
Log Message:
-----------
reveerrt an earlier commit, use pageForPoint
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2026-01-11 16:33:04 UTC (rev 16000)
+++ trunk/SKPDFView.m 2026-01-11 17:04:45 UTC (rev 16001)
@@ -1532,7 +1532,7 @@
}
- (void)doInitialRewind {
- if (rewindPage && ([self isPageAtIndexDisplayed:[rewindPage pageIndex]] ==
NO || NSPointInRect(SKCenterPoint([self bounds]), [self convertRect:[rewindPage
boundsForBox:[self displayBox]] fromPage:rewindPage]) == NO))
+ if (rewindPage && [self pageForPoint:SKCenterPoint([self bounds])
nearest:NO] != rewindPage)
[self doRewind];
}
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