Fix menu bar for macOS
This commit is contained in:
parent
8e79a2bd23
commit
f4c7ea40e7
@ -37,6 +37,7 @@ public struct MenuBar: TermKitSceneElement {
|
||||
menus: content.compactMap { $0.container(type: Menu.self, fields: [:]).pointer as? MenuBarItem }
|
||||
)
|
||||
Task {
|
||||
try await Task.sleep(nanoseconds: 1)
|
||||
for element in Application.top.subviews {
|
||||
element.y = .bottom(of: menubar)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user