revert: keep macOS main window titlebar opaque

This commit is contained in:
dijunkun
2026-07-28 16:29:32 +08:00
parent c53ce2a581
commit eed90dad34
3 changed files with 5 additions and 17 deletions
+1 -1
View File
@@ -2007,7 +2007,7 @@ void GuiApplication::SyncMainWindow() {
}
#if defined(__APPLE__)
if (ui_->main_native_titlebar_attempts > 0) {
if (ConfigureMainWindowTitlebar()) {
if (HideDisabledMainWindowZoomButton()) {
ui_->main_native_titlebar_attempts = 0;
} else {
--ui_->main_native_titlebar_attempts;