Skip to content

Commit

Permalink
Changing material of titlebar and main window -- removing vibrancy in…
Browse files Browse the repository at this point in the history
… favor of more natural color buttons
  • Loading branch information
mmattozzi committed Jun 17, 2021
1 parent 44bf6b3 commit 5ee7a01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion English.lproj/MainWindow.xib
Expand Up @@ -69,7 +69,7 @@
<rect key="frame" x="0.0" y="0.0" width="494" height="251"/>
<clipView key="contentView" id="h4Y-h1-wie">
<rect key="frame" x="0.0" y="0.0" width="494" height="251"/>
<autoresizingMask key="autoresizingMask"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView identifier="RequestHeaders" focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnSelection="YES" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" headerView="63H-55-EM8" id="zdU-Dw-3zr" customClass="TabbingTableView">
<rect key="frame" x="0.0" y="0.0" width="494" height="228"/>
Expand Down
6 changes: 3 additions & 3 deletions core/MainWindowController.m
Expand Up @@ -112,16 +112,16 @@ - (void)windowDidLoad {
[self.urlParametersTableView setTextDidEndEditingAction:@selector(doneEditingUrlParamsRow:)];

[self.mainBodyView setState:NSVisualEffectStateFollowsWindowActiveState];
[self.mainBodyView setMaterial:NSVisualEffectMaterialTitlebar];
[self.mainBodyView setMaterial:NSVisualEffectMaterialWindowBackground];
[self.mainBodyView setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
[self.savedRequestsOuterView setState:NSVisualEffectStateActive];
[self.savedRequestsOuterView setMaterial:NSVisualEffectMaterialTitlebar];
[self.savedRequestsOuterView setMaterial:NSVisualEffectMaterialWindowBackground];
[self.savedRequestsOuterView setBlendingMode:NSVisualEffectBlendingModeBehindWindow];
[self.savedRequestsInnerView setState:NSVisualEffectStateActive];
[self.savedRequestsInnerView setMaterial:NSVisualEffectMaterialContentBackground];
[self.savedRequestsInnerView setBlendingMode:NSVisualEffectBlendingModeWithinWindow];
[self.topOuterView setState:NSVisualEffectStateActive];
[self.topOuterView setMaterial:NSVisualEffectMaterialContentBackground];
[self.topOuterView setMaterial:NSVisualEffectMaterialTitlebar];
[self.topOuterView setBlendingMode:NSVisualEffectBlendingModeWithinWindow];

[self darkModeChanged:self];
Expand Down

0 comments on commit 5ee7a01

Please sign in to comment.