Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sc1sm3 committed Nov 5, 2018
1 parent 7beae6d commit 25c5359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/WCToolbarGradientView.m
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 25c5359

Please sign in to comment.