Revision: 14538
          http://sourceforge.net/p/skim-app/code/14538
Author:   hofman
Date:     2024-10-10 14:10:29 +0000 (Thu, 10 Oct 2024)
Log Message:
-----------
No need to collapse table when we are showing it

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

Modified: trunk/SKPresentationOptionsSheetController.m
===================================================================
--- trunk/SKPresentationOptionsSheetController.m        2024-10-09 21:15:18 UTC 
(rev 14537)
+++ trunk/SKPresentationOptionsSheetController.m        2024-10-10 14:10:29 UTC 
(rev 14538)
@@ -226,9 +226,6 @@
         [transition setInfo:info];
     [self startObservingTransitions:transitions];
     
-    // collapse the table, it is already hidden
-    [boxLeadingConstraint setConstant:BOX_OFFSET];
-    
     if (@available(macOS 11.0, *))
         [tableView setStyle:NSTableViewStylePlain];
     
@@ -248,6 +245,9 @@
         [self didChangeValueForKey:SEPARATE_KEY];
         [self setTransitions:[self makeTransitions:pageTransitions]];
         [self toggleTableAnimating:NO];
+    } else {
+        // collapse the table, it is already hidden
+        [boxLeadingConstraint setConstant:BOX_OFFSET];
     }
     
     // set the current notes document and observe changes for the popup

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