Revision: 28675
          http://sourceforge.net/p/bibdesk/svn/28675
Author:   hofman
Date:     2024-01-25 17:01:49 +0000 (Thu, 25 Jan 2024)
Log Message:
-----------
only dependent on key or main state when not having a background color

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

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-01-25 
16:09:34 UTC (rev 28674)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2024-01-25 
17:01:49 UTC (rev 28675)
@@ -1091,10 +1091,12 @@
 }
 
 - (void)_handleKeyOrMainStateNotification:(NSNotification *)note {
-    if (_backgroundView == nil)
-        [self setNeedsDisplay:YES];
-    else
-        [_backgroundView setNeedsDisplay:YES];
+    if (_backgroundColor) {
+        if (_backgroundView == nil)
+            [self setNeedsDisplay:YES];
+        else
+            [_backgroundView setNeedsDisplay:YES];
+    }
     [[self enclosingScrollView] setNeedsDisplay:YES];
 }
 

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to