Revision: 12397 http://sourceforge.net/p/skim-app/code/12397 Author: hofman Date: 2021-08-19 22:28:14 +0000 (Thu, 19 Aug 2021) Log Message: ----------- fix menuForEvent redirect in pdfview, taking one superview too many.
Modified Paths: -------------- trunk/PDFDocumentView_SKExtensions.m Modified: trunk/PDFDocumentView_SKExtensions.m =================================================================== --- trunk/PDFDocumentView_SKExtensions.m 2021-08-04 15:00:32 UTC (rev 12396) +++ trunk/PDFDocumentView_SKExtensions.m 2021-08-19 22:28:14 UTC (rev 12397) @@ -84,7 +84,7 @@ // On Sierra and later menuForEvent: is forwarded to the PDFView of the PDFPage rather than the actual PDFView, static NSMenu *replacement_menuForEvent(id self, SEL _cmd, NSEvent *event) { - id view = [[self enclosingScrollView] superview]; + id view = [self enclosingScrollView]; while ((view = [view superview])) if ([view isKindOfClass:[PDFView class]]) break; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit