Revision: 29163
          http://sourceforge.net/p/bibdesk/svn/29163
Author:   hofman
Date:     2025-04-21 15:34:31 +0000 (Mon, 21 Apr 2025)
Log Message:
-----------
No need to redraw background on 10.10+ when using visual effect view

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-21 
15:29:38 UTC (rev 29162)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-21 
15:34:31 UTC (rev 29163)
@@ -1109,7 +1109,10 @@
 
 - (void)_handleKeyOrMainStateNotification:(NSNotification *)note {
     if (_backgroundColor == nil) {
-        [_backgroundView ?: self setNeedsDisplay:YES];
+        if (_backgroundView == nil)
+            [self setNeedsDisplay:YES];
+        else if (floor(NSAppKitVersionNumber) < NSAppKitVersionNumber10_10)
+            [_backgroundView setNeedsDisplay:YES];
     }
 }
 

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to