Revision: 26302 http://sourceforge.net/p/bibdesk/svn/26302 Author: hofman Date: 2021-06-26 09:11:58 +0000 (Sat, 26 Jun 2021) Log Message: ----------- Make separateor in touch bar image a bit transparent
Modified Paths: -------------- trunk/bibdesk/NSImage_BDSKExtensions.m Modified: trunk/bibdesk/NSImage_BDSKExtensions.m =================================================================== --- trunk/bibdesk/NSImage_BDSKExtensions.m 2021-06-26 06:30:24 UTC (rev 26301) +++ trunk/bibdesk/NSImage_BDSKExtensions.m 2021-06-26 09:11:58 UTC (rev 26302) @@ -223,14 +223,6 @@ addSeparatorToolbarImage = [[NSImage alloc] initToolbarImageWithSize:NSMakeSize(21.0, 19.0) drawingHandler:^{ NSBezierPath *path = [NSBezierPath bezierPath]; - [path moveToPoint:NSMakePoint(2.0, 8.5)]; - [path lineToPoint:NSMakePoint(19.0, 8.5)]; - [path setLineWidth:2.0]; - [NSGraphicsContext saveGraphicsState]; - [[NSColor colorWithGenericGamma22White:0.0 alpha:0.8] setFill]; - [path stroke]; - [NSGraphicsContext restoreGraphicsState]; - path = [NSBezierPath bezierPath]; [path moveToPoint:NSMakePoint(16.25, 17.5)]; [path lineToPoint:NSMakePoint(16.25, 10.0)]; [path moveToPoint:NSMakePoint(12.5, 13.75)]; @@ -237,6 +229,12 @@ [path lineToPoint:NSMakePoint(20.0, 13.75)]; [path setLineWidth:1.5]; [path stroke]; + path = [NSBezierPath bezierPath]; + [path moveToPoint:NSMakePoint(2.0, 8.5)]; + [path lineToPoint:NSMakePoint(19.0, 8.5)]; + [path setLineWidth:2.0]; + [[NSColor colorWithGenericGamma22White:0.0 alpha:0.8] setFill]; + [path stroke]; }]; [addSeparatorToolbarImage setName:BDSKImageNameToolbarAddSeparator]; @@ -343,6 +341,7 @@ [path moveToPoint:NSMakePoint(1.0, 12.0)]; [path lineToPoint:NSMakePoint(27.0, 12.0)]; [path setLineWidth:2.0]; + [[NSColor colorWithGenericGamma22White:0.0 alpha:0.8] setStroke]; [path stroke]; [image unlockFocus]; [image setTemplate: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