Revision: 16073
          http://sourceforge.net/p/skim-app/code/16073
Author:   hofman
Date:     2026-03-18 17:23:20 +0000 (Wed, 18 Mar 2026)
Log Message:
-----------
display toolbar window in static image for animation based on content rect of 
window

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2026-03-17 17:01:47 UTC (rev 
16072)
+++ trunk/SKMainWindowController_FullScreen.m   2026-03-18 17:23:20 UTC (rev 
16073)
@@ -480,7 +480,7 @@
     [layer setBounds:[[window contentView] bounds]];
     [layer setContentsScale:[window backingScaleFactor]];
     [layer setContents:CFBridgingRelease(cgImage)];
-    if (([window styleMask] & NSWindowStyleMaskFullScreen) != 0 && 
showToolbarInFullScreen(window)) {
+    if (([window styleMask] & NSWindowStyleMaskFullScreen) != 0 && 
NSHeight([window frame]) > NSHeight([window contentLayoutRect])) {
         for (NSWindow *tbWindow in [window childWindows]) {
             if ([NSStringFromClass([tbWindow class]) 
containsString:@"Toolbar"]) {
                 CGImageRef tbCgImage = CGWindowListCreateImage(CGRectNull, 
kCGWindowListOptionIncludingWindow, (CGWindowID)[tbWindow windowNumber], 
kCGWindowImageBoundsIgnoreFraming | kCGWindowImageBestResolution);

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