Revision: 13426
          http://sourceforge.net/p/skim-app/code/13426
Author:   hofman
Date:     2023-04-28 16:03:36 +0000 (Fri, 28 Apr 2023)
Log Message:
-----------
Always select current page when showing overview

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2023-04-28 15:33:42 UTC (rev 13425)
+++ trunk/SKMainWindowController.m      2023-04-28 16:03:36 UTC (rev 13426)
@@ -1722,6 +1722,7 @@
     
     [overviewContentView setFrame:[oldView frame]];
     [overviewView scrollRectToVisible:[overviewView 
frameForItemAtIndex:[[pdfView currentPage] pageIndex]]];
+    [overviewView setSelectionIndexes:[NSIndexSet indexSetWithIndex:[[pdfView 
currentPage] pageIndex]]];
     
     if (RUNNING_BEFORE(10_14)) {
         [overviewContentView setMaterial:isPresentation ? 
NSVisualEffectMaterialDark : RUNNING_BEFORE(10_11) ? 
NSVisualEffectMaterialAppearanceBased : NSVisualEffectMaterialSidebar];

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