diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/hotkey_overlay.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |
