diff --git a/AMPrefs/AMPrefPaneIconView.m b/AMPrefs/AMPrefPaneIconView.m index 10465059..a23732c8 100644 --- a/AMPrefs/AMPrefPaneIconView.m +++ b/AMPrefs/AMPrefPaneIconView.m @@ -407,8 +407,8 @@ - (void)drawBackgroundForCategoryWithIndex:(int)index { NSRect frame = [self frameForCategoryWithIndex:index]; if ((index % 2) == 1) { - [[NSColor colorWithCalibratedWhite:0.97 alpha:0.99] set]; - NSRectFillUsingOperation(frame, NSCompositePlusDarker); + [[NSColor colorWithCalibratedWhite:0.97 alpha:1] set]; + NSRectFill(frame); } if (sortByCategory) { NSPoint captionOffset = NSMakePoint(AMPrefPaneIconViewHorizontalPadding, frame.origin.y +AMPrefPaneIconViewTopGroupPadding); @@ -438,8 +438,8 @@ - (void)drawIcon:(AMPrefPaneIcon *)icon atPosition:(NSPoint)pos highlighted:(BOO } else { theImage = [icon image]; } - [theImage setFlipped:NO]; - [theImage drawInRect:iconRect fromRect:sourceRect operation:NSCompositeSourceAtop fraction:1.0]; + [theImage setFlipped:YES]; + [theImage drawInRect:iconRect fromRect:sourceRect operation:NSCompositingOperationSourceOver fraction:1.0]; NSRect labelRect = NSZeroRect; labelRect.size = [[icon title] sizeWithAttributes:_am_iconLabelAttributes]; labelRect.origin.x = pos.x-labelRect.size.width/2.0;