Revision: 15356
          http://sourceforge.net/p/skim-app/code/15356
Author:   hofman
Date:     2025-06-03 14:23:31 +0000 (Tue, 03 Jun 2025)
Log Message:
-----------
no need to check for toolbar in fullscreen twice

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2025-06-03 14:21:01 UTC (rev 
15355)
+++ trunk/SKMainWindowController_FullScreen.m   2025-06-03 14:23:31 UTC (rev 
15356)
@@ -511,9 +511,7 @@
 }
 
 static inline CGFloat fullScreenOffset(NSWindow *window) {
-    if (showToolbarInFullScreen(window) == NO)
-        return NSHeight([window frame]) - NSHeight([window contentLayoutRect]);
-    else if (hasUnifiedToolbar(window))
+    if (hasUnifiedToolbar(window))
         return 0.0;
     else if (fullScreenToolbarOffset > 0.0)
         return fullScreenToolbarOffset;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to