Revision: 13463
http://sourceforge.net/p/skim-app/code/13463
Author: hofman
Date: 2023-06-09 21:52:07 +0000 (Fri, 09 Jun 2023)
Log Message:
-----------
cancel rewind on goToCurrentPage: and displayLineAtPoint:inPageAtIndex:
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2023-06-09 19:10:44 UTC (rev 13462)
+++ trunk/SKPDFView.m 2023-06-09 21:52:07 UTC (rev 13463)
@@ -1792,6 +1792,11 @@
}
}
+- (void)goToCurrentPage:(PDFPage *)page {
+ [self setNeedsRewind:NO];
+ [super goToCurrentPage:page];
+}
+
#pragma mark Event Handling
// PDFView has duplicated key equivalents for Cmd-+/- as well as Opt-Cmd-+/-,
which is totoally unnecessary and harmful
@@ -3136,6 +3141,8 @@
BOOL wasPageDisplayed = [self isPageAtIndexDisplayed:pageIndex];
BOOL shouldHideReadingBar = NO;
+ [self setNeedsRewind:NO];
+
if (wasPageDisplayed == NO)
[self goToPage:page];
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