From 044789b21056562bacd81fa6aafd76c091f00d69 Mon Sep 17 00:00:00 2001 From: Stuart Connolly Date: Sun, 26 Mar 2017 23:01:20 +0100 Subject: Update tab view drawing to match the style used by 10.12's automatic tabs and remove unused tab styles. Issues still to address: - Add tab button does not darken when moused over - The tab overflow button is being clipped and the image is not high res --- Frameworks/PSMTabBar/PSMTabDragView.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Frameworks/PSMTabBar/PSMTabDragView.m') diff --git a/Frameworks/PSMTabBar/PSMTabDragView.m b/Frameworks/PSMTabBar/PSMTabDragView.m index 5be56b10..aa066d86 100644 --- a/Frameworks/PSMTabBar/PSMTabDragView.m +++ b/Frameworks/PSMTabBar/PSMTabDragView.m @@ -34,7 +34,9 @@ srcRect.size = [_image size]; [_image drawInRect:[self bounds] fromRect:srcRect operation:NSCompositeSourceOver fraction:primaryAlpha]; + srcRect.size = [_alternateImage size]; + [_alternateImage drawInRect:[self bounds] fromRect:srcRect operation:NSCompositeSourceOver fraction:alternateAlpha]; } -- cgit v1.2.3