Skip to content

Commit

Permalink
Removed unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
form-follows-function committed Jun 3, 2018
1 parent b536a54 commit cff764d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions PshWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ - (id)initWithAttributes:(NSDictionary *)theAttributes

NSVisualEffectView *vibrant=[[NSVisualEffectView alloc] initWithFrame:[self frame]];
[vibrant setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable];
// uncomment for dark mode instead of light mode
[vibrant setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantLight]];
[vibrant setBlendingMode: NSVisualEffectBlendingModeBehindWindow];
[self setContentView:vibrant];
Expand All @@ -112,7 +111,6 @@ - (id)initWithAttributes:(NSDictionary *)theAttributes
[[theAttributes objectForKey:@"vibrance"] isEqualToString:@"dark"]) {
NSVisualEffectView *vibrant=[[NSVisualEffectView alloc] initWithFrame:[self frame]];
[vibrant setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable];
// uncomment for dark mode instead of light mode
[vibrant setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameVibrantDark]];
[vibrant setBlendingMode: NSVisualEffectBlendingModeBehindWindow];
[self setContentView:vibrant];
Expand Down

0 comments on commit cff764d

Please sign in to comment.