Fixed win32 input for Danish keyboard layout

macos-click-through
Rasmus Michelsen 5 years ago
parent a7a01c9247
commit 09b25bd636

@ -64,20 +64,20 @@ fn append_modifiers(
if result == "<" { if result == "<" {
result = "lt".to_string(); result = "lt".to_string();
special = true; special = true;
} }
if shift { if shift {
special = true; special = true;
result = format!("S-{}", result); result = format!("S-{}", result);
} }
if ctrl { if ctrl && !alt {
special = true; special = true;
result = format!("C-{}", result); result = format!("C-{}", result);
} }
if alt { if alt && !ctrl {
special = true; special = true;
result = format!("M-{}", result); result = format!("M-{}", result);
} }
if cfg!(not(target_os = "windows")) && gui { if cfg!(not(target_os = "windows")) && gui {
special = true; special = true;
result = format!("D-{}", result); result = format!("D-{}", result);

Loading…
Cancel
Save