Revision: 12188
          http://sourceforge.net/p/skim-app/code/12188
Author:   hofman
Date:     2021-03-09 18:26:23 +0000 (Tue, 09 Mar 2021)
Log Message:
-----------
Workaround for navigation with horizontal layout also on Big Sur, it is still 
not fixed

Modified Paths:
--------------
    trunk/PDFView_SKExtensions.m

Modified: trunk/PDFView_SKExtensions.m
===================================================================
--- trunk/PDFView_SKExtensions.m        2021-03-09 17:51:51 UTC (rev 12187)
+++ trunk/PDFView_SKExtensions.m        2021-03-09 18:26:23 UTC (rev 12188)
@@ -246,7 +246,7 @@
         original_setCurrentSelection = (void (*)(id, SEL, 
id))SKReplaceInstanceMethodImplementationFromSelector(self, 
@selector(setCurrentSelection:), @selector(replacement_setCurrentSelection:));
     } else if (RUNNING(10_13)) {
         original_goToRect_onPage = (void (*)(id, SEL, NSRect,  
id))SKReplaceInstanceMethodImplementationFromSelector(self, 
@selector(goToRect:onPage:), @selector(replacement_goToRect:onPage:));
-    } else if (RUNNING(10_15)) {
+    } else if (RUNNING_AFTER(10_14)) {
         original_goToPreviousPage = (void (*)(id, SEL, 
id))SKReplaceInstanceMethodImplementationFromSelector(self, 
@selector(goToPreviousPage:), @selector(replacement_goToPreviousPage:));
         original_goToNextPage = (void (*)(id, SEL, 
id))SKReplaceInstanceMethodImplementationFromSelector(self, 
@selector(goToNextPage:), @selector(replacement_goToNextPage:));
         original_goToFirstPage = (void (*)(id, SEL, 
id))SKReplaceInstanceMethodImplementationFromSelector(self, 
@selector(goToFirstPage:), @selector(replacement_goToFirstPage:));

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

Reply via email to