fix: hiddenInset titleBar console spam (#15576)
This commit is contained in:
parent
dcd2bf451d
commit
ece4c81c1a
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@
|
||||||
// Turn off the style for toolbar.
|
// Turn off the style for toolbar.
|
||||||
if (shell_->title_bar_style() == atom::NativeWindowMac::HIDDEN_INSET) {
|
if (shell_->title_bar_style() == atom::NativeWindowMac::HIDDEN_INSET) {
|
||||||
shell_->SetStyleMask(false, NSWindowStyleMaskFullSizeContentView);
|
shell_->SetStyleMask(false, NSWindowStyleMaskFullSizeContentView);
|
||||||
|
[window setTitlebarAppearsTransparent:YES];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue