fix: hiddenInset titleBar console spam (#15576)

This commit is contained in:
Shelley Vohr 2018-11-05 21:02:46 -08:00 committed by GitHub
parent dcd2bf451d
commit ece4c81c1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,6 +232,7 @@
// Turn off the style for toolbar.
if (shell_->title_bar_style() == atom::NativeWindowMac::HIDDEN_INSET) {
shell_->SetStyleMask(false, NSWindowStyleMaskFullSizeContentView);
[window setTitlebarAppearsTransparent:YES];
}
}
}