fix(menubar): 避免面板打开时自动聚焦刷新间隔
This commit is contained in:
@@ -59,6 +59,9 @@ import Observation
|
||||
panel.level = presentation.isPinned ? .floating : .normal
|
||||
panel.makeKeyAndOrderFront(nil)
|
||||
panel.orderFrontRegardless()
|
||||
// Opening the panel must not start editing the first text field.
|
||||
// Explicit clicks and keyboard navigation can still focus its controls.
|
||||
panel.makeFirstResponder(panel)
|
||||
visibility(true)
|
||||
installMonitors()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user