Introduce an OSAction that can be associated with menu items for mac platform compatibility.
Co-authored-by: Antonio <antonio@zed.dev>
This commit is contained in:
parent
24fcad3fa2
commit
71d8ead318
4 changed files with 148 additions and 313 deletions
|
@ -20,6 +20,7 @@ fn main() {
|
|||
items: vec![MenuItem::Action {
|
||||
name: "Quit",
|
||||
action: Box::new(Quit),
|
||||
os_action: None,
|
||||
}],
|
||||
}]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue