Revision: 13108 http://sourceforge.net/p/skim-app/code/13108 Author: hofman Date: 2022-10-21 16:29:06 +0000 (Fri, 21 Oct 2022) Log Message: ----------- revert change that came along
Modified Paths: -------------- trunk/SKBasePDFView.m Modified: trunk/SKBasePDFView.m =================================================================== --- trunk/SKBasePDFView.m 2022-10-21 16:26:46 UTC (rev 13107) +++ trunk/SKBasePDFView.m 2022-10-21 16:29:06 UTC (rev 13108) @@ -271,7 +271,7 @@ NSClipView *clipView = [[self scrollView] contentView]; NSRect pageBounds = [self convertRect:[self convertRect:bounds fromPage:page] toView:clipView]; bounds = [clipView bounds]; - bounds.origin.x = fmin(NSMaxX(pageBounds) - 0.5 * NSWidth(bounds), NSMinX(pageBounds)); + bounds.origin.x = fmin(NSMidX(pageBounds) - 0.5 * NSWidth(bounds), NSMinX(pageBounds)); [super goToPage:page]; [clipView scrollToPoint:[clipView constrainBoundsRect:bounds].origin]; } 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