From f2663c738c53cba1745457547afa42f18831c4a9 Mon Sep 17 00:00:00 2001 From: peelz Date: Tue, 18 Feb 2025 09:31:34 -0500 Subject: hotkey_overlay: rename ISO_Level{3,5}_Shift to Mod{5,3} --- src/ui/hotkey_overlay.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ui/hotkey_overlay.rs b/src/ui/hotkey_overlay.rs index 518488e2..9970d2f7 100644 --- a/src/ui/hotkey_overlay.rs +++ b/src/ui/hotkey_overlay.rs @@ -465,10 +465,10 @@ fn key_name(mod_key: ModKey, key: &Key) -> String { name.push_str("Ctrl + "); } ModKey::IsoLevel3Shift => { - name.push_str("ISO_Level3_Shift + "); + name.push_str("Mod5 + "); } ModKey::IsoLevel5Shift => { - name.push_str("ISO_Level5_Shift + "); + name.push_str("Mod3 + "); } } } @@ -488,12 +488,12 @@ fn key_name(mod_key: ModKey, key: &Key) -> String { if key.modifiers.contains(Modifiers::ISO_LEVEL3_SHIFT) && !(has_comp_mod && mod_key == ModKey::IsoLevel3Shift) { - name.push_str("ISO_Level3_Shift + "); + name.push_str("Mod5 + "); } if key.modifiers.contains(Modifiers::ISO_LEVEL5_SHIFT) && !(has_comp_mod && mod_key == ModKey::IsoLevel5Shift) { - name.push_str("ISO_Level5_Shift + "); + name.push_str("Mod3 + "); } let pretty = match key.trigger { -- cgit