Revision: 9684 http://sourceforge.net/p/skim-app/code/9684 Author: hofman Date: 2018-02-12 15:19:33 +0000 (Mon, 12 Feb 2018) Log Message: ----------- Work around line annotation bug also after 10.13, I don't know if Apple wants to stay stupid, and it cannot do any serious harm
Modified Paths: -------------- trunk/PDFAnnotationLine_SKExtensions.m Modified: trunk/PDFAnnotationLine_SKExtensions.m =================================================================== --- trunk/PDFAnnotationLine_SKExtensions.m 2018-02-12 13:27:50 UTC (rev 9683) +++ trunk/PDFAnnotationLine_SKExtensions.m 2018-02-12 15:19:33 UTC (rev 9684) @@ -156,7 +156,7 @@ + (void)load { if (RUNNING(10_11)) original_drawWithBox_inContext = (void (*)(id, SEL, PDFDisplayBox, CGContextRef))SKReplaceInstanceMethodImplementationFromSelector(self, @selector(drawWithBox:inContext:), @selector(replacement_drawWithBox:inContext:)); - if (RUNNING(10_13)) + if (RUNNING_AFTER(10_12)) original_setBounds = (void (*)(id, SEL, NSRect))SKReplaceInstanceMethodImplementationFromSelector(self, @selector(setBounds:), @selector(replacement_setBounds:)); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit