Revision: 13590
          http://sourceforge.net/p/skim-app/code/13590
Author:   hofman
Date:     2023-08-18 09:02:32 +0000 (Fri, 18 Aug 2023)
Log Message:
-----------
only create transparency layer for segment frame

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

Modified: trunk/SKNavigationWindow.m
===================================================================
--- trunk/SKNavigationWindow.m  2023-08-17 22:28:41 UTC (rev 13589)
+++ trunk/SKNavigationWindow.m  2023-08-18 09:02:32 UTC (rev 13590)
@@ -776,7 +776,7 @@
             else
                 color = [NSColor colorWithGenericGamma22White:1.0 alpha:[self 
isEnabledForSegment:segment] ? 0.9 : 0.3];
             CGContextRef context = [[NSGraphicsContext currentContext] 
CGContext];
-            CGContextBeginTransparencyLayer(context, NULL);
+            CGContextBeginTransparencyLayerWithRect(context, 
NSRectToCGRect(frame), NULL);
             [image drawInRect:rect];
             [color setFill];
             NSRectFillUsingOperation(rect, NSCompositeSourceIn);

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