|
|
@ -121,8 +121,10 @@ impl KeyboardManager {
|
|
|
|
let key_text = key_event.text;
|
|
|
|
let key_text = key_event.text;
|
|
|
|
if let Some(ori_key_text) = key_text {
|
|
|
|
if let Some(ori_key_text) = key_text {
|
|
|
|
let mut key_text = ori_key_text;
|
|
|
|
let mut key_text = ori_key_text;
|
|
|
|
if let Some(modify) = key_event.text_with_all_modifiers() {
|
|
|
|
if self.alt {
|
|
|
|
key_text = modify;
|
|
|
|
if let Some(modify) = key_event.text_with_all_modifiers() {
|
|
|
|
|
|
|
|
key_text = modify;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// This is not a control key, so we rely upon winit to determine if
|
|
|
|
// This is not a control key, so we rely upon winit to determine if
|
|
|
|
// this is a deadkey or not.
|
|
|
|
// this is a deadkey or not.
|
|
|
|