Revision: 12443
          http://sourceforge.net/p/skim-app/code/12443
Author:   hofman
Date:     2021-10-03 09:29:54 +0000 (Sun, 03 Oct 2021)
Log Message:
-----------
text background color is also represented by visual effect material

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2021-10-03 09:16:00 UTC (rev 12442)
+++ trunk/SKPDFView.m   2021-10-03 09:29:54 UTC (rev 12443)
@@ -4860,7 +4860,7 @@
 #pragma clang diagnostic ignored "-Wpartial-availability"
         if ([bgColor isEqual:[NSColor windowBackgroundColor]])
             material = NSVisualEffectMaterialWindowBackground;
-        else if ([bgColor isEqual:[NSColor controlBackgroundColor]])
+        else if ([bgColor isEqual:[NSColor controlBackgroundColor]] || 
[bgColor isEqual:[NSColor textBackgroundColor]])
             material = NSVisualEffectMaterialContentBackground;
         else if ([bgColor isEqual:[NSColor underPageBackgroundColor]])
             material = NSVisualEffectMaterialUnderPageBackground;

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