Switch from using the key window to the main window mac platform API
When the help menu is open, the help menu's search field is the key window, and this was causing menu item action resolution to fail co-authored-by: Max <max@zed.dev>
This commit is contained in:
parent
9398de6a57
commit
adf94a1681
6 changed files with 12 additions and 12 deletions
|
@ -157,7 +157,7 @@ impl super::Platform for Platform {
|
|||
}))
|
||||
}
|
||||
|
||||
fn key_window_id(&self) -> Option<usize> {
|
||||
fn main_window_id(&self) -> Option<usize> {
|
||||
None
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue