Revision: 14488
          http://sourceforge.net/p/skim-app/code/14488
Author:   hofman
Date:     2024-09-28 14:43:31 +0000 (Sat, 28 Sep 2024)
Log Message:
-----------
Mak presentation option sheet key when moving out preview window

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

Modified: trunk/SKPresentationOptionsSheetController.m
===================================================================
--- trunk/SKPresentationOptionsSheetController.m        2024-09-26 21:11:06 UTC 
(rev 14487)
+++ trunk/SKPresentationOptionsSheetController.m        2024-09-28 14:43:31 UTC 
(rev 14488)
@@ -360,6 +360,8 @@
         DISPATCH_MAIN_AFTER_SEC(1.0, ^{
             [previewView goToNextPage:nil];
             DISPATCH_MAIN_AFTER_SEC(1.0 + [info duration], ^{
+                if ([previewWindow isKeyWindow])
+                    [[self window] makeKeyWindow];
                 [NSAnimationContext runAnimationGroup:^(NSAnimationContext 
*context){
                     if (shouldAnimate == NO)
                         [context setDuration:0.0];

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