LibGUI: Display shortcut text for Alt Graph modifier
Fixes Accessibility menus in ThemeEditor and Magnifier not showing their complete shortcut combinations
This commit is contained in:
parent
7725042235
commit
5c9a140084
Notes:
sideshowbarker
2024-07-17 04:22:37 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/5c9a140084 Pull-request: https://github.com/SerenityOS/serenity/pull/16106
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ String Shortcut::to_string() const
|
|||
parts.append("Shift");
|
||||
if (m_modifiers & Mod_Alt)
|
||||
parts.append("Alt");
|
||||
if (m_modifiers & Mod_AltGr)
|
||||
parts.append("AltGr");
|
||||
if (m_modifiers & Mod_Super)
|
||||
parts.append("Super");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue