feat(menubar): 实现紧凑独立双列与按内容定高

This commit is contained in:
2026-11-08 18:47:01 +08:00
parent 8821089872
commit 8d3891966a
22 changed files with 259 additions and 128 deletions
+2
View File
@@ -63,6 +63,8 @@ import AppKit
presentation: panel, onOpenSettings: { [weak self] in
self?.menuBar?.hide()
settings.environment.openSettings()
}, onPreferredHeight: { [weak self] height in
self?.menuBar?.setPreferredContentHeight(height)
})
}
}