From dfae373e58da44ab6adc977ffe24e3d55ed51de0 Mon Sep 17 00:00:00 2001 From: keiya sasaki <34934510+keiya01@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:21:30 +0900 Subject: [PATCH] fix: global hide others shortcut (#447) --- .changes/fix-global-hide-others-shortcut.md | 5 +++++ src/platform_impl/macos/menu.rs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/fix-global-hide-others-shortcut.md diff --git a/.changes/fix-global-hide-others-shortcut.md b/.changes/fix-global-hide-others-shortcut.md new file mode 100644 index 000000000..e5661db4f --- /dev/null +++ b/.changes/fix-global-hide-others-shortcut.md @@ -0,0 +1,5 @@ +--- +"tao": patch +--- + +Fix global hide others shortcut. diff --git a/src/platform_impl/macos/menu.rs b/src/platform_impl/macos/menu.rs index 383573cad..b5f9296bb 100644 --- a/src/platform_impl/macos/menu.rs +++ b/src/platform_impl/macos/menu.rs @@ -203,7 +203,7 @@ impl Menu { make_menu_item( "Hide Others", Some(selector("hideOtherApplications:")), - Some(Accelerator::new(RawMods::AltMeta, KeyCode::KeyW)), + Some(Accelerator::new(RawMods::AltMeta, KeyCode::KeyH)), menu_type, ), )),