mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 12:01:31 +11:00
refactor: change EnterFullScreen
to ToggleFullScreen
This commit is contained in:
parent
a125e8a58c
commit
5c1b220cbb
|
@ -454,12 +454,12 @@ pub enum NativeMenuItem {
|
|||
/// - **macOS:** macOS require this menu item to enable "Select All" keyboard shortcut for your app.
|
||||
/// - **Linux Wayland:** Not implmeneted.
|
||||
SelectAll,
|
||||
/// A native "Enter fullscreen" menu item.
|
||||
/// A native "Toggle fullscreen" menu item.
|
||||
///
|
||||
/// ## platform-specific:
|
||||
///
|
||||
/// - **Windows / Linux:** Unsupported.
|
||||
EnterFullScreen,
|
||||
ToggleFullScreen,
|
||||
/// A native "Minimize current window" menu item.
|
||||
Minimize,
|
||||
/// A native "Zoom" menu item.
|
||||
|
|
|
@ -125,7 +125,7 @@ impl Submenu {
|
|||
NativeMenuItem::ShowAll => {
|
||||
make_menu_item("Show All", selector("unhideAllApplications:"), None)
|
||||
}
|
||||
NativeMenuItem::EnterFullScreen => make_menu_item(
|
||||
NativeMenuItem::ToggleFullScreen => make_menu_item(
|
||||
"Toggle Full Screen",
|
||||
selector("toggleFullScreen:"),
|
||||
Some("Ctrl+F"),
|
||||
|
|
Loading…
Reference in a new issue