Revision: 12930
          http://sourceforge.net/p/skim-app/code/12930
Author:   hofman
Date:     2022-06-19 23:07:50 +0000 (Sun, 19 Jun 2022)
Log Message:
-----------
call super in override of goToPage: in horizontal scrolling mode, so history is 
registered

Modified Paths:
--------------
    trunk/SKBasePDFView.m

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2022-06-19 15:58:23 UTC (rev 12929)
+++ trunk/SKBasePDFView.m       2022-06-19 23:07:50 UTC (rev 12930)
@@ -271,6 +271,7 @@
     CGFloat x = NSMinX([self convertRect:[self convertRect:bounds 
fromPage:page] toView:clipView]);
     bounds = [clipView bounds];
     bounds.origin.x = x;
+    [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

Reply via email to