Revision: 16126
          http://sourceforge.net/p/skim-app/code/16126
Author:   hofman
Date:     2026-03-28 21:54:52 +0000 (Sat, 28 Mar 2026)
Log Message:
-----------
scroll current page view to visible after adding overview to window

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-03-28 17:45:30 UTC (rev 16125)
+++ trunk/SKMainWindowController.m      2026-03-28 21:54:52 UTC (rev 16126)
@@ -1711,10 +1711,12 @@
                 [NSLayoutConstraint activateConstraints:constraints];
             }
             completionHandler:^{
+                [overviewView scrollRectToVisible:[overviewView 
frameForItemAtIndex:[[pdfView currentPage] pageIndex]]];
                 [[self window] recalculateKeyViewLoop];
                 [touchBarController overviewChanged];
             }];
     } else {
+        [overviewView scrollRectToVisible:[overviewView 
frameForItemAtIndex:[[pdfView currentPage] pageIndex]]];
         [contentView replaceSubview:oldView with:overviewContentView];
         [NSLayoutConstraint activateConstraints:constraints];
     }

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