Revision: 13532
          http://sourceforge.net/p/skim-app/code/13532
Author:   hofman
Date:     2023-07-23 08:58:41 +0000 (Sun, 23 Jul 2023)
Log Message:
-----------
don't allow multiple selection in overview in presentation mode

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2023-07-21 22:42:20 UTC (rev 13531)
+++ trunk/SKMainWindowController.m      2023-07-23 08:58:41 UTC (rev 13532)
@@ -1747,6 +1747,7 @@
     [overviewContentView setFrame:[oldView frame]];
     [overviewView scrollRectToVisible:[overviewView 
frameForItemAtIndex:[[pdfView currentPage] pageIndex]]];
     [overviewView setSelectionIndexes:[NSIndexSet indexSetWithIndex:[[pdfView 
currentPage] pageIndex]]];
+    [overviewView setAllowsMultipleSelection:isPresentation == NO];
     
     if (RUNNING_BEFORE(10_11)) {
         [(NSVisualEffectView *)overviewContentView setMaterial:isPresentation 
? NSVisualEffectMaterialDark : NSVisualEffectMaterialAppearanceBased];

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