Revision: 16017
          http://sourceforge.net/p/skim-app/code/16017
Author:   hofman
Date:     2026-01-13 17:06:17 +0000 (Tue, 13 Jan 2026)
Log Message:
-----------
only correct scrollToDestination when we change it

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

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2026-01-13 17:05:58 UTC (rev 16016)
+++ trunk/SKBasePDFView.m       2026-01-13 17:06:17 UTC (rev 16017)
@@ -388,6 +388,7 @@
         NSScrollView *scrollView = [self embeddedScrollView];
         NSClipView *clipView = [scrollView contentView];
         NSRect bounds = [clipView bounds];
+        NSPoint origin = bounds.origin;
         bounds.origin = [self convertPoint:[self convertPoint:dest.point 
fromPage:page] toView:clipView];
         if ([clipView isFlipped])
             bounds.origin.y -= [clipView contentInsets].top;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to