Revision: 12832 http://sourceforge.net/p/skim-app/code/12832 Author: hofman Date: 2022-04-08 09:00:30 +0000 (Fri, 08 Apr 2022) Log Message: ----------- negative margin
Modified Paths: -------------- trunk/SKBasePDFView.m Modified: trunk/SKBasePDFView.m =================================================================== --- trunk/SKBasePDFView.m 2022-04-07 16:39:16 UTC (rev 12831) +++ trunk/SKBasePDFView.m 2022-04-08 09:00:30 UTC (rev 12832) @@ -264,7 +264,7 @@ #pragma clang diagnostic ignored "-Wpartial-availability" CGFloat margin = [self pageBreakMargins].left; #pragma clang diagnostic pop - bounds = NSInsetRect(bounds, -margin, margin); + bounds = NSInsetRect(bounds, -margin, -margin); } bounds = [self convertRect:[self convertRect:bounds fromPage:page] toView:clipView]; [clipView scrollToPoint:NSMakePoint(NSMinX(bounds), NSMinY([clipView bounds]))]; 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