Revision: 13459
http://sourceforge.net/p/skim-app/code/13459
Author: hofman
Date: 2023-06-08 22:10:23 +0000 (Thu, 08 Jun 2023)
Log Message:
-----------
Check page at center point when first trying to rewind the page
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2023-06-08 22:05:44 UTC (rev 13458)
+++ trunk/SKPDFView.m 2023-06-08 22:10:23 UTC (rev 13459)
@@ -1777,7 +1777,7 @@
[rewindPage release];
rewindPage = [[self currentPage] retain];
DISPATCH_MAIN_AFTER_SEC(0.0, ^{
- if (rewindPage && ([self displayMode] &
kPDFDisplaySinglePageContinuous))
+ if (rewindPage && [self pageForPoint:SKCenterPoint([self
visibleContentRect]) nearest:NO] != rewindPage)
[self scrollToPage:rewindPage];
});
DISPATCH_MAIN_AFTER_SEC(0.25, ^{
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