fix(cef/macos): fix TitleBarStyle::Visible have full size content view (#14648)

This commit is contained in:
Amr Bashir
2025-12-15 11:56:34 +02:00
committed by GitHub
parent 6409df3466
commit 062650e1a9

View File

@@ -3060,7 +3060,7 @@ fn apply_titlebar_style(window: &cef::Window, style: TitleBarStyle, hidden_title
match style {
TitleBarStyle::Visible => {
mask |= NSWindowStyleMask::FullSizeContentView;
mask &= !NSWindowStyleMask::FullSizeContentView;
ns_window.setTitlebarAppearsTransparent(false);
ns_window.setStyleMask(mask);
}