Revision: 15251 http://sourceforge.net/p/skim-app/code/15251 Author: hofman Date: 2025-05-21 14:49:19 +0000 (Wed, 21 May 2025) Log Message: ----------- rename method
Modified Paths: -------------- trunk/SKPresentationView.m Modified: trunk/SKPresentationView.m =================================================================== --- trunk/SKPresentationView.m 2025-05-21 14:47:29 UTC (rev 15250) +++ trunk/SKPresentationView.m 2025-05-21 14:49:19 UTC (rev 15251) @@ -426,7 +426,7 @@ - (void)doDrawFreehandNoteWithEvent:(NSEvent *)theEvent; - (void)showHelpMenu; -- (PDFAnnotation *)linkAnotationForEvent:(NSEvent *)theEvent; +- (PDFAnnotation *)linkAnotationForMouse:(NSEvent *)theEvent; @end @@ -789,7 +789,7 @@ if ([pageLayer opacity] <= 0.0) { [pageLayer setOpacity:1.0]; } else if ([NSApp willDragMouse] == NO) { - PDFDestination *link = [[self linkAnotationForEvent:theEvent] destination]; + PDFDestination *link = [[self linkAnotationForMouse:theEvent] destination]; if (link) [self setPage:[link page]]; else @@ -1081,7 +1081,7 @@ [menu popUpMenuPositioningItem:nil atLocation:point inView:self]; } -- (PDFAnnotation *)linkAnotationForEvent:(NSEvent *)theEvent { +- (PDFAnnotation *)linkAnotationForMouse:(NSEvent *)theEvent { if ([[page annotations] count] == 0) return nil; @@ -1132,7 +1132,7 @@ - (void)setCursorForMouse:(NSEvent *)theEvent { if (pvFlags.cursorHidden) [[NSCursor emptyCursor] set]; - else if ([[self linkAnotationForEvent:theEvent] destination]) + else if ([[self linkAnotationForMouse:theEvent] destination]) [[NSCursor pointingHandCursor] set]; else if (pvFlags.useArrowCursor) [[NSCursor arrowCursor] set]; 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