feat(menubar): 实现紧凑独立双列与按内容定高
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user