Revision: 15748
          http://sourceforge.net/p/skim-app/code/15748
Author:   hofman
Date:     2025-11-02 15:49:02 +0000 (Sun, 02 Nov 2025)
Log Message:
-----------
no need to display on older systems

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

Modified: trunk/SKThumbnailView.m
===================================================================
--- trunk/SKThumbnailView.m     2025-11-02 15:44:04 UTC (rev 15747)
+++ trunk/SKThumbnailView.m     2025-11-02 15:49:02 UTC (rev 15748)
@@ -275,10 +275,12 @@
     if (backgroundStyle != newBackgroundStyle) {
         backgroundStyle = newBackgroundStyle;
         [self updateBackgroundStyle];
-        if ([self isSelected])
-            [self setNeedsDisplay:YES];
-        else if ([self highlightLevel] > 0)
-            [self setNeedsDisplayInRect:[labelView frame]];
+        if (@available(macOS 11.0, *)) {} else {
+            if ([self isSelected])
+                [self setNeedsDisplay:YES];
+            else if ([self highlightLevel] > 0)
+                [self setNeedsDisplayInRect:[labelView frame]];
+        }
     }
 }
 

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