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