From 25c5359a55286834ba79c3328520485059852cb5 Mon Sep 17 00:00:00 2001 From: sc1sm3 Date: Mon, 5 Nov 2018 22:49:14 +0100 Subject: [PATCH] Minor fix --- Sources/WCToolbarGradientView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/WCToolbarGradientView.m b/Sources/WCToolbarGradientView.m index 6cbe065d..7b562322 100644 --- a/Sources/WCToolbarGradientView.m +++ b/Sources/WCToolbarGradientView.m @@ -43,8 +43,8 @@ - (void)_drawGradientBackground { keyWindow = [[self window] isKeyWindow]; rect = [self bounds]; - startColor = (keyWindow) ? [NSColor windowBackgroundColor] : [NSColor windowBackgroundColor]; - endColor = (keyWindow) ? [NSColor controlColor] : [NSColor controlColor]; + startColor = (keyWindow) ? WC_VIEW_STARTING_KEY_COLOR : WC_VIEW_STARTING_COLOR; + endColor = (keyWindow) ? WC_VIEW_ENDING_KEY_COLOR : WC_VIEW_ENDING_COLOR; [endColor set]; //NSRectFill([self bounds]);