Skip to content

Commit

Permalink
fix: hiddenInset titleBar console spam (#15576)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Nov 6, 2018
1 parent dcd2bf4 commit ece4c81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions atom/browser/ui/cocoa/atom_ns_window_delegate.mm
Expand Up @@ -232,6 +232,7 @@ - (void)windowWillExitFullScreen:(NSNotification*)notification {
// Turn off the style for toolbar.
if (shell_->title_bar_style() == atom::NativeWindowMac::HIDDEN_INSET) {
shell_->SetStyleMask(false, NSWindowStyleMaskFullSizeContentView);
[window setTitlebarAppearsTransparent:YES];
}
}
}
Expand Down

0 comments on commit ece4c81

Please sign in to comment.