Add a separator before Quit in the application menu (#30697)

macOS applications should have a separator between “Show All” and “Quit”
in the application menu.
This commit is contained in:
Rob McBroom
2025-05-14 16:19:09 +00:00
committed by GitHub
parent c80aaca0c5
commit ef511976be
+1
View File
@@ -44,6 +44,7 @@ pub fn app_menus() -> Vec<Menu> {
MenuItem::action("Hide Others", super::HideOthers),
#[cfg(target_os = "macos")]
MenuItem::action("Show All", super::ShowAll),
MenuItem::separator(),
MenuItem::action("Quit", Quit),
],
},