Revision: 15756
          http://sourceforge.net/p/skim-app/code/15756
Author:   hofman
Date:     2025-11-03 18:09:22 +0000 (Mon, 03 Nov 2025)
Log Message:
-----------
no visual effect view in top bar view in presentation mode on older systems

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

Modified: trunk/SKTopBarView.m
===================================================================
--- trunk/SKTopBarView.m        2025-11-03 17:28:34 UTC (rev 15755)
+++ trunk/SKTopBarView.m        2025-11-03 18:09:22 UTC (rev 15756)
@@ -115,6 +115,7 @@
 - (void)setStyle:(SKTopBarStyle)newStyle {
     style = newStyle;
     NSColor *sepColor = nil;
+    [blurView setHidden:NO];
     switch (style) {
         case SKTopBarStyleSearchBar:
             if (@available(macOS 11.0, *))
@@ -149,6 +150,7 @@
                 [blurView 
setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
             } else {
                 [backgroundView setBackgroundColor:[NSColor 
windowBackgroundColor]];
+                [blurView setHidden:YES];
             }
             break;
     }

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