Revision: 13363
          http://sourceforge.net/p/skim-app/code/13363
Author:   hofman
Date:     2023-03-15 15:31:05 +0000 (Wed, 15 Mar 2023)
Log Message:
-----------
shadow for windows containing screenshpt of window

Modified Paths:
--------------
    trunk/SKMainWindowController_FullScreen.m
    trunk/SKSnapshotWindowController.m

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2023-03-15 15:23:36 UTC (rev 
13362)
+++ trunk/SKMainWindowController_FullScreen.m   2023-03-15 15:31:05 UTC (rev 
13363)
@@ -588,6 +588,7 @@
     [(SKMainWindow *)window setDisableConstrainedFrame:YES];
     if (fade) {
         [(SKAnimatedBorderlessWindow *)animationWindow 
setBackgroundImage:[(SKMainWindow *)window windowImage]];
+        [animationWindow setHasShadow:YES];
         [animationWindow orderWindow:NSWindowBelow relativeTo:window];
         [window setAlphaValue:0.0];
         [window setFrame:frame display:YES];

Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m  2023-03-15 15:23:36 UTC (rev 13362)
+++ trunk/SKSnapshotWindowController.m  2023-03-15 15:31:05 UTC (rev 13363)
@@ -597,6 +597,7 @@
     
     SKAnimatedBorderlessWindow *miniaturizeWindow = 
[[SKAnimatedBorderlessWindow alloc] initWithContentRect:startRect];
     [miniaturizeWindow setLevel:NSFloatingWindowLevel];
+    [miniaturizeWindow setHasShadow:YES];
     [miniaturizeWindow setBackgroundImage:windowImage];
     
     [miniaturizeWindow orderFront:nil];

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