Revision: 13458
http://sourceforge.net/p/skim-app/code/13458
Author: hofman
Date: 2023-06-08 22:05:44 +0000 (Thu, 08 Jun 2023)
Log Message:
-----------
Try to scroll to page immediately when rewinding the page. Don't check for
currentPage, as that usually is not set yet. Still check again after 0.25s.
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2023-06-08 21:18:53 UTC (rev 13457)
+++ trunk/SKPDFView.m 2023-06-08 22:05:44 UTC (rev 13458)
@@ -1776,6 +1776,10 @@
if (flag) {
[rewindPage release];
rewindPage = [[self currentPage] retain];
+ DISPATCH_MAIN_AFTER_SEC(0.0, ^{
+ if (rewindPage && ([self displayMode] &
kPDFDisplaySinglePageContinuous))
+ [self scrollToPage:rewindPage];
+ });
DISPATCH_MAIN_AFTER_SEC(0.25, ^{
if (rewindPage) {
if ([[self currentPage] isEqual:rewindPage] == NO)
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