Revision: 15906
http://sourceforge.net/p/skim-app/code/15906
Author: hofman
Date: 2025-12-23 10:16:40 +0000 (Tue, 23 Dec 2025)
Log Message:
-----------
rename method to be certain
Modified Paths:
--------------
trunk/SKBasePDFView.h
trunk/SKBasePDFView.m
trunk/SKMainWindowController.m
Modified: trunk/SKBasePDFView.h
===================================================================
--- trunk/SKBasePDFView.h 2025-12-21 18:09:17 UTC (rev 15905)
+++ trunk/SKBasePDFView.h 2025-12-23 10:16:40 UTC (rev 15906)
@@ -49,7 +49,7 @@
- (void)colorFiltersDidChange;
-- (void)scrollToDestination:(SKDestination)destination;
+- (void)scrollToSKDestination:(SKDestination)destination;
- (void)resetHistory;
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2025-12-21 18:09:17 UTC (rev 15905)
+++ trunk/SKBasePDFView.m 2025-12-23 10:16:40 UTC (rev 15906)
@@ -367,7 +367,7 @@
}
}
-- (void)scrollToDestination:(SKDestination)dest {
+- (void)scrollToSKDestination:(SKDestination)dest {
PDFPage *page = [[self document] pageAtIndex:dest.pageIndex];
if (NSEqualPoints(dest.point, SKUnspecifiedPoint) == NO) {
NSScrollView *scrollView = [self scrollView];
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2025-12-21 18:09:17 UTC (rev 15905)
+++ trunk/SKMainWindowController.m 2025-12-23 10:16:40 UTC (rev 15906)
@@ -492,7 +492,7 @@
if (@available(macOS 12.0, *)) {
if (([pdfView displayMode] & kPDFDisplaySinglePageContinuous))
{
dispatch_async(dispatch_get_main_queue(), ^{
- [pdfView scrollToDestination:dest];
+ [pdfView scrollToSKDestination:dest];
});
}
}
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