fix(menubar): 避免面板打开时自动聚焦刷新间隔

This commit is contained in:
2026-11-03 19:50:30 +08:00
parent 9f0d1659a8
commit a81de6d5be
4 changed files with 12 additions and 1 deletions
@@ -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()
}